It seems like I have a very simple problem:
I created a plot like this with ggplot2:
Using this code:
library(ggplot2)
df <- read.table(header=T, text=' x y
1 -1
2 -1.5
3 -1.6
4 -1.7
5 -1')
ggplot(df, aes(x,y)) +
geom_area(size=1,colour="red")
As you can see, the graph values are negative.
I want to fill the area under the graph line.
The duplicate path doesn't help me with that.
Thanks for your help!