[R] Symbol size in plots

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Sep 6 10:02:00 CEST 2000


Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:

> Maurizio Pisati wrote:
> > 
> > Dear R-listers,
> > what is the best way to draw an XY scatterplot with symbol size
> > proportional to the value taken on by a third variable?
> > Thank you very much for any help,
> > Maurizio Pisati
> 
> Have a look at:
> ?symbols
> 
> e.g.:
> symbols(1:10,1:10,circles=1:10, inches=0.1)

Also 

 plot(x,y,cex=z)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list