Re: [R] bubble plot problems
Pieter Provoost gmail.com> writes: > I'm having some problems with a bubble plot (ps package). I don't want > tick marks on all four sides (just two), I want to have a smaller font > size, and I would like to be able to define bubble sizes shown in the > legend (now it shows 0, 0, 0, 9.747 and 4265.757 which is not really > convenient. Passing some of the standard plot arguments didn't help (in > fact, nothing changed). In general, bubble plots are not good visual aid, except when you happen to have data for which they work well. They try to represent an additional dimention in 2-D, so there are bound to be problems if there is not enough space to do this on a plot; additionally the scale is not linear, or something else we are use to for comparing large differences (in case of your data). It may be better at times to just label the data points, and let the reader choose the interpretation, without representing relative size graphically. Please see a good book on Statistical Graphics. http://www.math.yorku.ca/SCS/Gallery/ Search: Cleveland, and Tufte. Anupam. __ R-help@stat.math.ethz.ch 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.
Re: [R] bubble plot problems
The legend can be controlled with the key.entries parameter. I don't know about the tick marks, though note that bubble calls xyplot in the lattice package, not the "standard" plot function. On 19/09/06, Pieter Provoost <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having some problems with a bubble plot (ps package). I don't want > tick marks on all four sides (just two), I want to have a smaller font > size, and I would like to be able to define bubble sizes shown in the > legend (now it shows 0, 0, 0, 9.747 and 4265.757 which is not really > convenient. Passing some of the standard plot arguments didn't help (in > fact, nothing changed). > > bubble(points,fill=FALSE,aspect='fill',main='macrofauna',col='black',scales=list(y=list(tick.number=numberspecies,labels=rev(names(data,ylim=c(1:numberspecies)) > > Thanks, > Piet > > __ > R-help@stat.math.ethz.ch 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. > -- = David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP -- = David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP __ R-help@stat.math.ethz.ch 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.
[R] bubble plot problems
Hi, I'm having some problems with a bubble plot (ps package). I don't want tick marks on all four sides (just two), I want to have a smaller font size, and I would like to be able to define bubble sizes shown in the legend (now it shows 0, 0, 0, 9.747 and 4265.757 which is not really convenient. Passing some of the standard plot arguments didn't help (in fact, nothing changed). bubble(points,fill=FALSE,aspect='fill',main='macrofauna',col='black',scales=list(y=list(tick.number=numberspecies,labels=rev(names(data,ylim=c(1:numberspecies)) Thanks, Piet __ R-help@stat.math.ethz.ch 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.