> 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
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:/
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
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
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.
>>
>>
...@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,
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
7 matches
Mail list logo