[R] grey colored lines and overwriting labels i qqplot2

Hadley Wickham hadley at rice.edu
Fri Jul 15 19:01:20 CEST 2011


> You should only have one scale_ call for each scale type.  Here, you have
> three scale_colour_ calls, the first selecting a grey scale, the second
> defining a single break with its label (and thus implicitly subsetting on
> that single break value), and a second which defines a different
> break/label/subset.  Only the last one has any effect.

Just to clarify: breaks/labels control the appearance of the
legend/axis, limits modify what data is shown on the plot.

Hadley


-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list