Skip to content
Back to formatted view

Raw Message

Message-ID: <4EAE623C.7000602@xtra.co.nz>
Date: 2011-10-31T08:54:20Z
From: Rolf Turner
Subject: 3 Overlayed simple plots
In-Reply-To: <1320048822.62116.YahooMailNeo@web120109.mail.ne1.yahoo.com>

On 31/10/11 21:13, Alaios wrote:
> Dear all,
> I am plotting 3 plots into the same x and y axis.
> I want the first one to be painted red with a continuous line
> The second one green with a continuous line
> and the third one blue with a continuous line
>
> plot(max_power(data),ylim=c(-120,-20))
>      par(new=T)
>      plot(min_power(data),ylim=c(-120,-20))
>      par(new=T)
>      plot(mean_power(data),ylim=c(-120,-20))
>      par(new=F)
>
> Is it also a way to do that look more nice instead of having 6 lines of code?

?lines

     cheers,

         Rolf Turner