[R] specifying plot symbol sizes in qplot or ggplot2

From: cfriedl <cfriedalek_at_gmail.com>
Date: Tue, 08 Jun 2010 18:21:38 -0700 (PDT)


first things first ... thanks for ggplot2.

Now my question. I'm using qplot to generate a plot as follows where X,Y,Z, A are columns in a dataframe.

qplot(X, Y, data=XYDATA, color=Z, geom=c("point"), size=A)

This works as expected. Factor A has three levels so there are three sizes of the point plot symbol. I understand that the factor levels are mapped to symbol sizes. However the sizes are too small for my liking. Is there any way I can specify the range of plot symbol sizes that factor A levels are mapped to?

View this message in context: http://r.789695.n4.nabble.com/specifying-plot-symbol-sizes-in-qplot-or-ggplot2-tp2248217p2248217.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 09 Jun 2010 - 05:34:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Jun 2010 - 12:10:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive