search for: scale_colour

Displaying 5 results from an estimated 5 matches for "scale_colour".

2007 Feb 25
8
Double-banger function names: preferences and suggestions
What do you prefer/recommend for double-banger function names: 1 scale.colour 2 scale_colour 3 scaleColour 1 is more R-like, but conflicts with S3. 2 is a modern version of number 1, but not many packages use it. Number 3 is more java-like. (I like number 2 best) Any suggestions? Thanks, Hadley
2009 Mar 20
1
ggplot2: specifying legend titles
I am trying to specify a legend title to be other than the variable name, but I find that the legend splits because scale_shape() takes effect but scale_colour() does not. Can someone spot my error? Here's some toy code that produces the problem on my system (R2.8.1, windows, today's CRAN package updates): library(ggplot2) a <- sample(letters[1:5],100,replace=T) b <- rnorm(100) c <- rnorm(100) qplot(b,c,shape=a,colour=a) + scale...
2007 Jul 05
1
ggplot2 customizing
Dear all, I know that ggplot2 documentation is coming along, but at the moment I can't find how to do the following: a) change the title of the legend b) get rid of the closing line at the bottom of the density line. I also observed that the density lines (after limiting the x-scale) extend a little bit into the surrounding of the plot, which can be seen very strong when plotted as pdf.
2008 Jan 11
0
New version of ggplot2: 0.5.7
...lar coordinates plot look nicer * geom_bar no longer draws gray borders by default, but instead uses the same colour as fill (this eliminates a tiny gap between neighbouring bars) * plotmatrix: tweaks to improve display of scatterplot matrix * scale_brewer: added option to reverse palette * scale_colour: colour and fill legends now look exactly the same (previously colour was missing a grey border) * scale_discrete has slightly larger expansion (0.75 vs 0.5) * stat_bar: only output bars with > 0 count See CHANGELOG for changes in previous versions -- http://had.co.nz/ ________________...
2008 Jan 11
0
New version of ggplot2: 0.5.7
...lar coordinates plot look nicer * geom_bar no longer draws gray borders by default, but instead uses the same colour as fill (this eliminates a tiny gap between neighbouring bars) * plotmatrix: tweaks to improve display of scatterplot matrix * scale_brewer: added option to reverse palette * scale_colour: colour and fill legends now look exactly the same (previously colour was missing a grey border) * scale_discrete has slightly larger expansion (0.75 vs 0.5) * stat_bar: only output bars with > 0 count See CHANGELOG for changes in previous versions -- http://had.co.nz/ ________________...