Dear R Gurus, I spent some time in looking for help but didn't find a way to do what I want. I do have a vector (in Degrees) containing of 360 elements, one element per degree on a circle. The data is dimensionless and in the range of -0.2 to 0.5. An Example: Wind Dir [degrees], Value 1, 0.1 2 , 0.3 3 , 0.01 .,. .,. 180,-0.01 181,-0.2 .,. .,. .,. 359,.0.3 360,.0.5 Now I want to have some kind of "rose" plot, a bit like a wind rose. Where the actual values per degree are plottet on a circle. I had a look to some wind rose packages, but the problem I had was that I wasn't able to plot the values but the plots gave me frequencies (which is due to the data (one element per degree) always "one" ). Do you have any idea how to make these plots? Thanks a lot in advance Martin -- View this message in context: http://r.789695.n4.nabble.com/Rose-plot-like-a-windrose-tp4632773.html Sent from the R help mailing list archive at Nabble.com.
Hello Martin, Did you try with 'polar.plot' from the 'plotrix' package? Best Regards, Pascal ----- Mail original ----- De?: MartinD <martin.doerenkaemper at forwind.de> ??: r-help at r-project.org Cc?: Envoy? le : Vendredi 8 juin 2012 18h01 Objet?: [R] Rose plot (like a windrose) Dear R Gurus, I spent some time in looking for help but didn't find a way to do what I want. I do have a vector (in Degrees) containing of 360 elements, one element per degree on a circle. The data is dimensionless? and in the range of -0.2 to 0.5. An Example: Wind Dir [degrees],? Value 1,? 0.1 2 , 0.3 3 ,? 0.01 .,. .,. 180,-0.01 181,-0.2 .,. .,. .,. 359,.0.3 360,.0.5 Now I want to have some kind of "rose" plot, a bit like a wind rose. Where the actual values per degree are plottet on a circle. I had a look to some wind rose packages, but the problem I had was that I wasn't able to plot the values but the plots gave me frequencies (which is due to the data (one element per degree) always "one" ). Do you have any idea how to make these plots? Thanks a lot in advance Martin -- View this message in context: http://r.789695.n4.nabble.com/Rose-plot-like-a-windrose-tp4632773.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help at 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.
Hi, Please check function radial.plot() in package plotrix. Regards, Carlos Ortega www.qualityexcellence.es 2012/6/8 MartinD <martin.doerenkaemper@forwind.de>> Dear R Gurus, > I spent some time in looking for help but didn't find a way to do what I > want. > I do have a vector (in Degrees) containing of 360 elements, one element per > degree on a circle. > The data is dimensionless and in the range of -0.2 to 0.5. > > An Example: > > Wind Dir [degrees], Value > 1, 0.1 > 2 , 0.3 > 3 , 0.01 > .,. > .,. > 180,-0.01 > 181,-0.2 > .,. > .,. > .,. > 359,.0.3 > 360,.0.5 > > Now I want to have some kind of "rose" plot, a bit like a wind rose. > Where the actual values per degree are plottet on a circle. > I had a look to some wind rose packages, but the problem I had was that I > wasn't able to plot the values but the plots gave me frequencies (which is > due to the data (one element per degree) always "one" ). > Do you have any idea how to make these plots? > > Thanks a lot in advance > > Martin > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Rose-plot-like-a-windrose-tp4632773.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >-- Saludos, Carlos Ortega www.qualityexcellence.es [[alternative HTML version deleted]]
Hey, thanks a lot. The polar.plot function from plotrix did exactly what I wanted to have! -- View this message in context: http://r.789695.n4.nabble.com/Rose-plot-like-a-windrose-tp4632773p4632799.html Sent from the R help mailing list archive at Nabble.com.