for my graph
ggplot(data=data, x=x, y=y, fill=factor(c)+ geom_path()+geom_errorbar()+ geom_point()
I would like to plot the y.axis reverse, using
scale_y_reverse()
while define its limits, breaks, labels and expands.
usually I use:
scale_y_continuous(limits=c(x,y), breaks=c(x,y,z), labels=c(x,y,z), expand(x,y))
well, apparently
scale_y_reverse()
and scale_y_continous() are somehow considered as the same code!? As I get an Error, saying:
"Scale for 'y' is already present. Adding another scale for 'y', which will replace the existing scale."
I found a post saying that it is possible to combine the two commands, thus I tried:
scale_y_reverse(limits=c(x,y), breaks=c(x,y,z), labels=c(x,y,z), expand(x,y))
which doesn't work either.
I am sure that there has to be a way, and as usual I suppose it is very simple.. once you know.
I hope someone know how to solve this.
Kind Regards