As David said, your "minimal working example" is neither minimal nor
working...consider this (admittedly quite clunky) example though:
time <- seq(10, 20, length.out = 100)
S1 <- 10*exp( cumsum(rnorm(100))/20)
S2 <- 10*exp( cumsum(rnorm(100))/20)
plot(time, S1, ylim = range(c(S1,S2)), type = "n"
Hi,
I apologies for my naive doubts
I have been trying it from a while. I need the area between the curve based
on conditions i wrote (whenever red line is above the blue line then area
between curves to be grey color and whenever blue line is above red line
then area between curves to be red col
On Dec 3, 2011, at 5:28 PM, avinash barnwal wrote:
Hi Weylandt,
I tried it but i was not successful.
Here is the full code
Any help would be great.
time<-c("02-Jan-05","09-Jan-05","16-Jan-05","23-Jan-05","30-
Jan-05",
Hi Weylandt,
I tried it but i was not successful.
Here is the full code
Any help would be great.
time<-c("02-Jan-05","09-Jan-05","16-Jan-05","23-Jan-05","30-Jan-05","06-Feb-05","13-Feb-05","20-Feb-05","27-Feb-05","06-Mar-0
? polygon
example(polygon)
Michael
On Sat, Dec 3, 2011 at 4:08 PM, avinash barnwal
wrote:
> Hi all,
>
> I have been trying to shade the specific part of the plot
>
> Part to be shaded
>
> 1. Any color whenever a2>a3
>
> 2. Any other color( Not same as 1) whenever a2
> Suggest me some code for th
5 matches
Mail list logo