Skip to content
Prev 583 / 885 Next

plot an angle of 450 degrees and adding a circular arrow to it

Steven,

Change

abline(x1,y1, lwd = 3) to lines(x1,y1, lwd = 3) and you'll get the line you're looking for. abline is just for drawing a line with a given slope and intercept. lines is more general.

Also, c(-4*pi,-(7*pi)/2,-3*pi,-(5*pi)/2,-2*pi,-(3*pi)/2,-pi,-pi/2, 0,pi/2,pi,(3*pi)/2,2*pi,(5*pi)/2,3*pi,(7*pi)/2,4*pi)
can be done with a call to seq instead. For example:
seq(-4*pi, 4*pi, pi/2)

Best Wishes,
Joel
On Oct 21, 2014, at 11:30 AM, Steven Stoline <sstoline at gmail.com> wrote: