Displaying 5 results from an estimated 5 matches for "scale_fill_hu".
Did you mean:
scale_fill_hue
2012 Aug 08
1
ggplot2 with separate average lines
...umn.
I also want 2 lines showing each group's "average".
> library(ggplot2)
> data <- read.table("mem.dat", header=T, sep=",")
> attach(data)
> ggplot(data.frame(Type, ID, Size), aes(x=ID, y=Size, shape=Type, color=Type))
+ geom_point(shape=1) + scale_fill_hue(l=40)
+ geom_line(stat="hline", yintercept=mean, linetype="dashed")
>
Regards,
Alan
[[alternative HTML version deleted]]
2011 Dec 04
1
Polishing my geom_bar for publication
...ot;WINTER","SPINYTAIL","BIGELOW'S","SKATES (NS)","THORNY","SMOOTH","ABYSSAL","LITTLE","DEEPWATER","JENSEN'S","WHITE","SOFT"))+
ylab("Biomass (Weight (kg)/tow)") + scale_fill_hue(name="Survey season", # Legend label, use darker colors
breaks=c("summer", "winter"),
labels=c("Spring", "Fall")) + coord_flip() +
theme_bw() + opts(axis.title.x = theme_text(size = 10)) + opts(panel.grid.m...
2008 Jul 24
1
ggplot question
I am trying to do something simple with ggplot. I wish to draw a density
plot split by group, and fill each group with a different colour (and
each with an alpha =0.25). I have tried a number of variations of the
following, but cannot find a way to define the colour of the fill, its
transparency and the line around it individually - something in the
syntax continues to defy me.
2009 Jul 28
2
Density plot in ggplot2
Hi all, I was trying to draw a stacked density plot like that :
library(ggplot2); library(plyr)
dat <- cbind(rnorm(300), rep(c(1,2), each=150))
ggplot() + geom_density(aes(x=dat[,1], fill=factor(dat[,2]),
position="stack")) +
xlab("") + ylab("") +
scale_colour_manual(name = "Pallet", labels = c("X", "Y"))
Here
2012 Aug 15
4
boxplot help
Hi, im a newbie with very wobbly coding abilities.
Tearing my hair out over getting the boxplot i want...
I have a dataset called 'eagle' which consists of year (2011 or 2012), month
(jan - dec), roof (TT6, TT13 or BARE) and temp (the continuous variable that
i want to plot).
So i want boxplots of the three roof treatments in every month organised in
chronical order along x axis 2011 -