[R-sig-Geo] plotting vector of direction magnitude

Greg Snow Greg.Snow at imail.org
Tue Dec 1 19:36:11 CET 2009

You may find the my.symbols and ms.arrows functions in the TeachingDemos package useful.

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org

> -----Original Message-----
> From: r-sig-geo-bounces at stat.math.ethz.ch [mailto:r-sig-geo-
> bounces at stat.math.ethz.ch] On Behalf Of Sam Veloz
> Sent: Sunday, November 29, 2009 3:32 PM
> To: r-sig-geo at stat.math.ethz.ch
> Subject: [R-sig-Geo] plotting vector of direction magnitude
> I have a file of points with x/y coordinates and columns for bearing
> and
> distance. I would like to make a plot where each point is depicted by
> an
> arrow and the direction the arrow points is based on the value of
> bearing and the length of the arrow is based on the value of distance.
> Any suggestions on how to do this would be greatly appreciated.
> Thanks,
> Sam
> --
> ****************************************************
> Sam Veloz
> Postdoctoral Researcher
> Department of Environmental Science and Policy
> University of California, Davis
> sdveloz at ucdavis.edu
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

More information about the R-sig-Geo mailing list