Hi,
Try:
polygon(c(x1, rev(x2)), c(y1, rev(y2)), col="grey")
In general you might need to make sure the data is well ordered.
Hope this helps,
baptiste
On 8 Mar 2009, at 16:52, Martin Batholdy wrote:
hi,
the code below produces me two curved lines.
Now I want to fill the space betwe
hi,
the code below produces me two curved lines.
Now I want to fill the space between these curves with a color and I
don't have any idea how to do that with R.
I tried it with the polygon() function but it didn't worked out.
Can someone her give me a hint on that?
thanks!
x1 <- c(0.
2 matches
Mail list logo