Re: [R] plot polar coordinates

2014-02-25 Thread Jim Lemon
> Hi, > How do we limit the Theta range plotted? In the current format, R plots > the > whole 2Pi range, however I want a plot between 0 and pi/2. > I do not see any parameter in polar.plot to do the same, am I missing > something very obvious? Hi Avaneesh, Use the radial.pos argument to provide p

Re: [R] plot polar coordinates

2014-02-24 Thread avaneesh
Hi, How do we limit the Theta range plotted? In the current format, R plots the whole 2Pi range, however I want a plot between 0 and pi/2. I do not see any parameter in polar.plot to do the same, am I missing something very obvious? Regards, Avaneesh T -- View this message in context: http:/

Re: [R] plot polar coordinates

2010-06-04 Thread Thomas Steiner
Thank you Jim, I had a liitle off-list conversation with Greg and finally I got the solution. All the code is now on http://commons.wikimedia.org/wiki/File:Sonnenstand.png I got the workaround with my own "(sun)lines" function which does the shift from cartesian coordiantes to polar coordinates. A

Re: [R] plot polar coordinates

2010-06-04 Thread Jim Lemon
On 06/04/2010 05:05 AM, Thomas Steiner wrote: Thank you Greg, I'll add 180 then. Thanks for the hint with longer radial.lim arguments it works woderfull. The lines function is plotting in Cartesian coordinates, not the polar coordinates. Is there any (lines) function that plots polar coord

Re: [R] plot polar coordinates

2010-06-03 Thread Thomas Steiner
Of Thomas Steiner >> Sent: Thursday, June 03, 2010 8:09 AM >> To: r-help@r-project.org >> Subject: [R] plot polar coordinates >> >> Hi, >> I'd like to plot in in polar coordinates a line which is given as a >> vector of lengths and angles. >> >>

Re: [R] plot polar coordinates

2010-06-03 Thread Greg Snow
...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Thomas Steiner > Sent: Thursday, June 03, 2010 8:09 AM > To: r-help@r-project.org > Subject: [R] plot polar coordinates > > Hi,

[R] plot polar coordinates

2010-06-03 Thread Thomas Steiner
Hi, I'd like to plot in in polar coordinates a line which is given as a vector of lengths and angles. library("plotrix") polar.plot(length=c(1,-13,3,-1),polar.pos=c(20,20,45,55),rp.type="p",line.col="red",lwd=3,clockwise=TRUE,label.pos=seq(30,360,by=30),labels=c("ESE","SSE","S","SSW","WSW","W","WN