[R] Target Plot?

Dieter Menne dieter.menne at menne-biomed.de
Fri Feb 6 15:04:21 CET 2009


Jason Rupert <jasonkrupert <at> yahoo.com> writes:
 
  
> Also, do you know how to make the radial rings "black" and a little thicker? 
A co-worker requested that the be made a little darker and easier to see. 
>  

library(plotrix)

ions<-c(3.2, 5.0, 2.0)
ion.names<-c("Na","Ca","Mg")

radial.plot(ions, labels=ion.names, rp.type="s", start=90*(3.14159/180), 
             main="Dissolved ions in water", point.symbols=16,
point.col="green",             grid.col="black",
             radial.lim=c(0,6), show.centroid=FALSE, cex=4)
text(1,2, "Sodium is hot")
text(5,2, "Mg bitter")




More information about the R-help mailing list