[R] Two plots with two different Y labels

Jim Lemon jim at bitwrit.com.au
Thu Mar 1 12:06:57 CET 2012


On 03/01/2012 07:13 PM, Alaios wrote:
> Dear all,
> I would like to place into a same plot two plots. Their y values though are different a lot (first series has around -100 y values and the second one slightly over 1). The x value are the same.
> I would like to have in the same plot (under the same x,y axis the two plots). Is it possible then to have two y labels, one for example in the left side and an extra y label at the right. Each y label will have its own labeling and its own Font type line.
>
> CAn I do something like that in R with the normal plots and lines?
>
Hi Alex,
Have a look at the twoord.plot function (plotrix).

Jim



More information about the R-help mailing list