Re: [R] qplot of ggplot package how to plot different size according to the values and not to the weights?

From: Stefan Grosse <singularitaet_at_gmx.net>
Date: Fri 27 Oct 2006 - 13:41:45 GMT

here an example with the car data
qplot(drat,wt,data=mtcars,shape=as.factor(carb),col=am,size=3)

it gets a bit better if one takes away the as.factor (but that of course changes other things)

The picture is saved via metafile, screenshot did not work (mostly black whyever) I know its deleted for the list...

Stefan



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.
example.png
Received on Fri Oct 27 23:48:29 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 27 Oct 2006 - 15:30:12 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.