Learn R Programming

RFOC (version 3.4-10)

circtics: Draw circular ticmarks

Description

Draw circular ticmarks

Usage

circtics(r = 1, dr = 0.02, dang = 10, ...)

Value

graphical side effects

Arguments

r

radius

dr

length of tics

dang

angle between tics

...

graphical parameters

Author

Jonathan M. Lees <jonathan.lees@unc.edu>

Examples

Run this code

 phi = seq(from =0, to = 2 * pi, length=360)
    x = cos(phi)
    y = sin(phi)
    plot(x, y, col = 'blue', asp=1, type='l')
   circtics(r = 1, dr = 0.02, dang = 10, col='red')




Run the code above in your browser using DataLab