Hi Jim, vectorField worked a treat - thanks!
On 28 September 2013 01:57, Jim Lemon <j...@bitwrit.com.au> wrote: > On 09/28/2013 04:56 AM, Conor Ryan wrote: > >> I am trying to plot points on a map for each ship locations (lat/long), >> where >> each point is a line whose angle (degrees) denotes ships heading and whose >> line length denotes it's speed. Unfortunately arrows(); p.arrows (sfsmisc) >> and ms.arrows (TeachingDemos) require start and end coordinates but I only >> have a single coordinate and an angle to work with. Can you suggest any >> other packages or commands that might allow me to plot this? >> Alternatively, >> can anyone suggest a method of making 'angle' a vector quantity when using >> the arrows function? Any advice would be much appreciated! >> >> Hi Conor, > Try the vector.field function (plotrix). > > Jim > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.