[R] About radial.labels in plotrix

Hugues François hugues.francois at irstea.fr
Mon Aug 18 15:35:37 CEST 2014


Hello,

 

As you can read in the small code below, I do not represent directly my data but its inverse in the limits of my radial plot and I would like to reorder grid labelling from the upper value at the center and the lower one at the graph's border. In my example I would like to have 40 at the center and 0 on the border.

 

http://oi62.tinypic.com/9zrntv.jpg

 

I tried to find examples of radial.labels parameter on the web but I didn't find any.

 

Here is my code :

 

radial.plot(

                mylim-data2[data2[,1]==sta,2:length(data2)],

                labels=c("N","NE","E","SE","S","SW","W","NW"),

                rp.type="p",

                radial.lim=c(0,mylim),

                line.col="#648bda",

                lwd = 2,

                start=1.56,

                clockwise = T)

 

Regards,

 

Hugues.


	[[alternative HTML version deleted]]



More information about the R-help mailing list