On 27/09/2013 21:01, Bert Gunter wrote:
On Fri, Sep 27, 2013 at 12:44 PM, Sarah Goslee <sarah.gos...@gmail.com> wrote:
It's a straightforward trigonometry problem, isn't it?
Indeed! ( (r,theta) to (x,y) coordinates ) . So I wonder if this is
a homework problem. If so, the OP should note that we try not to do
homework here.
So that would make it unanimous that everyone here is trying
not to do homework.
Pat
Cheers,
Bert
On Fri, Sep 27, 2013 at 2:56 PM, Conor Ryan <miol...@gmail.com> 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!
--
Sarah Goslee
http://www.functionaldiversity.org
______________________________________________
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.
--
Patrick Burns
pbu...@pburns.seanet.com
twitter: @burnsstat @portfolioprobe
http://www.portfolioprobe.com/blog
http://www.burns-stat.com
(home of:
'Impatient R'
'The R Inferno'
'Tao Te Programming')
______________________________________________
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.