search for: scale_manu

Displaying 16 results from an estimated 16 matches for "scale_manu".

Did you mean: scale_mask
2011 Nov 08
2
nesting scale_manual caracteristics in ggplot
Hi there, I am having a little problem with combining three scale_manual commands in a facet plot. I am not able to combine the three different characteristics, instead ending up with three different descriptions next to the graph for the same geom. I would like to see two separate labels (not three); one describing lines 1-7 and the other 8-14. For each of the trea...
2011 Jul 10
2
grey colored lines and overwriting labels i qqplot2
...the names of the grey tones? 4.) I would like to add different shapes. However, when I type >p+ geom_point(aes(shape = factor(TREATMENT))) + scale_shape(solid = FALSE) I get this error message: Error: scale_shape_discrete can deal with a maximum of 6 discrete values, but you have 7. See ?scale_manual for a possible alternative. I did not find anything useful looking at the scale_manual pages. Any tips on how to add another symbol? 5. ) Finally, how can I remove the grey background in the graph? Thank you for all input! -- View this message in context: http://r.789695.n4.nabble.com/gre...
2008 Nov 17
1
ggplot2: using more than 6 symbols
...multiple lines using different colours/symbols to distinguish them. If I try to plot more than 6 lines, I get an error: > ggplot( dat, aes(x=time,y=value,group=variable,shape=variable) ) + geom_line() Error: scale_shape can deal with a maximum of 6 discrete values, but you have 9. See ?scale_manual for a possible alternative I find this slightly confusing, as there are ~25 symbols listed for use. (I'm using ggplot2 0.7, on OSX, R 2.7.2) Ideally, I'd like to use a combination of colours and symbols (e.g. 5 colours and 4 symbols -> 20 unique possibilities) or even colours,...
2009 Feb 25
0
ggplot2 0.8.2
...etc now correctly displays linetype on legends * geom_step now works with multiple groups * geom_vline and geom_hline: fix bug when mapping intercept to variable in data frame * ggsave: path parameter correctly sets path * guides: fix broken legend from default stat aesthetics (e.g. for stat_sum) * scale_manual now works better with missing values * scale_manual: labels now correctly sets legend labels. * stat_density_2d: no longer passes unnecessary parameters to kde2d causing an error message (seen when setting aesthetics with qplot) * stat_pointrange: better relationship between point and line widths...
2009 Feb 25
0
ggplot2 0.8.2
...etc now correctly displays linetype on legends * geom_step now works with multiple groups * geom_vline and geom_hline: fix bug when mapping intercept to variable in data frame * ggsave: path parameter correctly sets path * guides: fix broken legend from default stat aesthetics (e.g. for stat_sum) * scale_manual now works better with missing values * scale_manual: labels now correctly sets legend labels. * stat_density_2d: no longer passes unnecessary parameters to kde2d causing an error message (seen when setting aesthetics with qplot) * stat_pointrange: better relationship between point and line widths...
2008 Sep 24
1
qplot, stacked area, own colourscheme
...uot;Year") As I have those categories (cover grasses, cover herbs...) I would like to assign special colours to each (for example "cover grasses" => dark green, "cover open soil" => brown ...), but I did not get it so far. I tried several variations with area_geom, scale_manual but without success... For example (which does not work, it just shows the standard colourscheme): mycolorscheme <- c("khaki", "darkgreen", "lightgreen", "yellow", "saddlebrown") mycolors <- rep(mycolorscheme,3) myplot <- qplot(da...
2010 Feb 19
0
ggplot2: version 0.8.6
...djustments (Fixes #70) * qplot loads facetting variables from global environment more correctly * scale_date and scale_date_time now work with infinite positions * scale_date and scale_date_time now take expand argument * scales were not getting automatically added in many situations (Fixes #69) * scale_manual was not returning labels in the correct format and so legends were not getting merged correctly * stat_contour: fix error if x or y coordinates were negative * stat_bin: now copes with bars of zero height (Fixes #72) * stat_qq: always use sorted data (rather than interpolated quantiles) on samp...
2009 Jan 28
1
Changing histogram stack in qplot
I've been using qplot pretty successfully to generate stacked histograms.  However, it appears that I need to tweak the colors a little.    I've got three temperature variables (characters not numeric) and I need to change from the default qplot colors to the following: Low = Blue Middle = black High = Red   Here is pseudo code of what I have currently:qplot(Run, data = TestData, breaks =
2010 Feb 19
0
ggplot2: version 0.8.6
...djustments (Fixes #70) * qplot loads facetting variables from global environment more correctly * scale_date and scale_date_time now work with infinite positions * scale_date and scale_date_time now take expand argument * scales were not getting automatically added in many situations (Fixes #69) * scale_manual was not returning labels in the correct format and so legends were not getting merged correctly * stat_contour: fix error if x or y coordinates were negative * stat_bin: now copes with bars of zero height (Fixes #72) * stat_qq: always use sorted data (rather than interpolated quantiles) on samp...
2011 Sep 15
1
changing "label" in ggplot
Hi everyone, I'm trying to create a scatterplot (with ggplot2) with different groups and a faceting (see code below... much clearer I think) But when I want to change the color label to something else using the scale_colour_manual function (based on http://had.co.nz/ggplot2/scale_manual.html), it seems impossible to get what I want. Instead I receive a nice error message. But the code will speak for itself if my request doesn't seem clear enough to you guys. Code: > g<- ggplot(data=d, aes(x=Xcontinuous,y=Ycontinuous) +geom_point(aes(colour=d$Groups, shape=d$Group...
2010 Oct 20
1
Adding Legend about two quantile lines at ggplot
Hi, all. I'd like to add legend on my graph but I can't. My code is follows. library(ggplot2) score1<-rnorm(100,0,5) score2<-rnorm(400,10,15) mydata<-data.frame(score1,score2) ggplot(mydata,aes(y=score2,x=score1))+geom_point()+stat_quantile(quantiles=c(0.50),col="red")+stat_quantile(quantiles=c(0.90),col="blue",size=2) I like to add legend indicating the
2009 Apr 21
0
ggplot2 version 0.8.3
...tion of horizontal facets * fortify: full set of methods for turning data from the sp package into data frames that can be plotted with ggplot2 * geom_errorbarh: new geom for horizontal error bars * labels_parsed and labels_bquote functions to make it easier to display expressions on facet labels * scale_manual now supports breaks and limits * subset: experimental new feature. Layers now have a subset argument, which takes subsets formatted like .(var1 < 5, var2 == 3) etc. * xlim and ylim now work recognise Date and POSIXct classes to create date and date_time scales respectively Dealing with missi...
2009 Apr 21
0
ggplot2 version 0.8.3
...tion of horizontal facets * fortify: full set of methods for turning data from the sp package into data frames that can be plotted with ggplot2 * geom_errorbarh: new geom for horizontal error bars * labels_parsed and labels_bquote functions to make it easier to display expressions on facet labels * scale_manual now supports breaks and limits * subset: experimental new feature. Layers now have a subset argument, which takes subsets formatted like .(var1 < 5, var2 == 3) etc. * xlim and ylim now work recognise Date and POSIXct classes to create date and date_time scales respectively Dealing with missi...
2008 Jan 11
0
New version of ggplot2: 0.5.7
...gplot in use. ggplot 0.5.7 ---------------------------------------- New geoms, scales and aesthetics * stat_step and geom_step to draw staircase plots (like plot(type="s")) * order aesthetic (currently only for lines/paths) allows you to control the drawing order within a group * scale_manual makes it easier to let ggplot uses the exact colours/sizes/linetypes that you want * scale_reverse allows you to reverse the scale of x and y axes * scale_grey is a new black and white scale for categorical data (colour and fill) Improved options handling * new function opts() to allow m...
2008 Jan 11
0
New version of ggplot2: 0.5.7
...gplot in use. ggplot 0.5.7 ---------------------------------------- New geoms, scales and aesthetics * stat_step and geom_step to draw staircase plots (like plot(type="s")) * order aesthetic (currently only for lines/paths) allows you to control the drawing order within a group * scale_manual makes it easier to let ggplot uses the exact colours/sizes/linetypes that you want * scale_reverse allows you to reverse the scale of x and y axes * scale_grey is a new black and white scale for categorical data (colour and fill) Improved options handling * new function opts() to allow m...
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems