Re: [R] plot circles where z values are circles radius

2015-01-23 Thread Jim Lemon
Hi Alireza, Part of the problem is the scale of your numbers. You probably want something like this. plot(x,y,cex=z/min(z)*2) What happens here is that the default plotting character, which happens to be a circle, is plotted in a size relative to the ratio of each z value to the minimum z value.

Re: [R] plot circles where z values are circles radius

2015-01-23 Thread Thomas Adams
I think what you should look at are these web sites I found with a Google search: http://flowingdata.com/2010/11/23/how-to-make-bubble-charts/ http://www.r-bloggers.com/bubble-plots-ggplot2/ http://cran.r-project.org/web/packages/HSAUR/vignettes/Ch_logistic_regression_glm.pdf http://cran.r-project

Re: [R] plot circles where z values are circles radius

2015-01-23 Thread Kehl Dániel
-help-boun...@r-project.org] ; meghatalmazó: Dr. Alireza Zolfaghari [ali.zolfagh...@gmail.com] Küldve: 2015. január 23. 22:12 To: R-help; r-help-requ...@r-project.org Tárgy: [R] plot circles where z values are circles radius Hi there, I am trying to plot z values using Circle symbol. Each x and y h

[R] plot circles where z values are circles radius

2015-01-23 Thread Dr. Alireza Zolfaghari
Hi there, I am trying to plot z values using Circle symbol. Each x and y has a value which will be plotted using a circle where circle's radius is corrlated with the value of z. I wrote the code , but unable to change the size of circle no matter what I chose for Scale. Any help please? x=c(84390