Displaying 2 results from an estimated 2 matches for "deltaconfig".
2007 Jul 16
1
Problem to sort factor
...ased plot. Here's my code:
---8<----------
> delta <- ggplot(subset(data, Model==c("dyn", "dl4", "dl3")), aes(x=Problemsize, y=Fitness)) +
geom_smooth(size=1, color="black", fill=alpha("blue", 0.2))+
geom_point(size=0.5, aes(colour=DeltaConfig))+
scale_colour_gradient2(expression(bold(paste(Delta,"Config"))), limits=c(0,10), midpoint=5,
low="green", mid="yellow", high="red")
> delta <- delta + facet_grid(Model ~ . , margins = TRUE)
> delta
---8<----------
an...
2007 Jun 24
2
matlab/gauss code in R
...in the ggplot book for some details on how to use the grid
> equivalents.
>
> > How do I change the legend. The auto-creation of it might be nice,
> > but I want a) to add a title b) change the order to ascending and c)
> > add a short description like:
> >
> > DeltaConfig
> > [ ] 0 best
> > [ ]
> > [ ] 5
> > [ ]
> > [ ]10 worst
> >
> > I don't know if this is possible, but it would be nice to explain what
> > the colors/values might mean if it's not clear from the beginning
> > (ligke diamonds.s...