Skip to content
Prev 368107 / 398500 Next

Plot Arrows with Angle and length

II find using complex numbers makes for less typing with
this sort of thing.  Note the use of plot(asp=1,...) to force
equal scales on both axes so the angles are right.
(I think asp=1 should have been the default when plotting complex
numbers, but too late now.)
+     # convert degrees clockwise from north to
+     # radians counter-clockwise from east.
+     (90-degreesClockwise)/180*base::pi
+ }
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Mar 29, 2017 at 6:44 AM, julio cesar oliveira <oliveirajc at ufv.br> wrote: