[R] Over lay 2 scale in same plot

Jim Lemon jim at bitwrit.com.au
Tue Sep 7 11:29:13 CEST 2010


On 09/07/2010 02:57 AM, mamunbabu2001 wrote:
>
> Hi Everyone,
> I have two different data set in 2 different scale.
> I want to plot these two data in the same plot
> in their respective scale. So the plot will have 2 different scale.
> I have added an image below to show how it should look.
> does any bode has any idea how this can be done.
>
> 2 different y scale in same plot..??
>
> http://r.789695.n4.nabble.com/file/n2528661/2scale_ovelay.jpg
>
Hi Mamun,
I could only see one scale (ordinate) on the plot above, but have a look 
at the twoord.plot function in the plotrix package.

Jim



More information about the R-help mailing list