RE: bubble size on geom_point

65 views
Skip to first unread message

ONKELINX, Thierry

unread,
Jun 13, 2012, 8:39:07 AM6/13/12
to Ricardo Ramiro, ggp...@googlegroups.com

Have you looked at scale_size_continuous()?

 

ir. Thierry Onkelinx

Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest

team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance

Kliniekstraat 25

1070 Anderlecht

Belgium

+ 32 2 525 02 51

+ 32 54 43 61 85

Thierry....@inbo.be

www.inbo.be

 

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.

~ Sir Ronald Aylmer Fisher

 

The plural of anecdote is not data.

~ Roger Brinner

 

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.

~ John Tukey

 

Van: ggp...@googlegroups.com [mailto:ggp...@googlegroups.com] Namens Ricardo Ramiro
Verzonden: woensdag 13 juni 2012 14:24
Aan: ggp...@googlegroups.com
Onderwerp: bubble size on geom_point

 

Dear all,

 

I am trying to make a scatter plot, but want to add a third continuous variable as bubble size. 

 

I can do that easily with size=variable, but now I would like to control better the minimum and maximum size of the bubbles (as some are hard to see) and would like to see if change the number of bubble sizes as well.

 

if anyone could give me an hint on how to do this, that would be great!

 

thanks 

--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
 
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2

* * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * *
Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document.
The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document.

Ricardo Ramiro

unread,
Jun 13, 2012, 9:04:47 AM6/13/12
to ggp...@googlegroups.com, Ricardo Ramiro
Hi Thierry,

thank you very much for your help, 

using scale_size_continuous() with the arguments "breaks" and "to" solved my problem!

Reply all
Reply to author
Forward
0 new messages