mysimbaa wrote:
> Hello Everybody,
> I'm trying to plot(x,y) using different colors.
> I have to cut (x,y) into sub intervals.
> And I want to plot this sub intervals using colors. But infortunally I don't
> know how to do this with R.
> Can any body help me please?
>
> My code is looking like :
Another question concerning the type.
plot(x,F,xlab="Zeit [s]",ylab="Variation [%]",col = rep(c("red", "blue",
"magenta"), c(t0, ts, n)),type=c("p", "l","o"))
Doesnt change the type with differents colors!
(I become only one type and my color is red)
How can I solve this?
--
View this message
gt; Dimitris
>
>
> Dimitris Rizopoulos
>
> - Original Message -
> From: "mysimbaa" sisltd.ch>
> To: r-project.org>
> Sent: Tuesday, November 13, 2007 9:46 AM
> Subject: [R] Plot segments with different colors
>
> >
> > Hell
uot; <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 13, 2007 9:46 AM
Subject: [R] Plot segments with different colors
>
> Hello Everybody,
> I'm trying to plot(x,y) using different colors.
> I have to cut (x,y) into sub intervals.
> And I want to plot this sub intervals
Hello Everybody,
I'm trying to plot(x,y) using different colors.
I have to cut (x,y) into sub intervals.
And I want to plot this sub intervals using colors. But infortunally I don't
know how to do this with R.
Can any body help me please?
My code is looking like :
x<-c(tvar[1:t0],tvar[t0:(ts)],t
5 matches
Mail list logo