[R] 2 Y-AXIS labels on the same (left-hand side) Y-AXIS XXXX

John Kane jrkrideau at yahoo.ca
Mon Nov 28 22:50:49 CET 2011


I think your assumption is correct.  Have a look at ?par.
It's been a while but I think you need to modify the mai or mar values. Probably the mar.

--- On Mon, 11/28/11, Dan Abner <dan.abner99 at gmail.com> wrote:

> From: Dan Abner <dan.abner99 at gmail.com>
> Subject: [R] 2 Y-AXIS labels on the same (left-hand side) Y-AXIS XXXX
> To: r-help at r-project.org
> Received: Monday, November 28, 2011, 4:37 PM
> Hello everyone,
> 
> Is it possible to specify a 2 line y-axis label on the same
> lef-hand side
> y-axis? I am using the \n regular expression, but only the
> 2nd line appears
> (I assume the 1st line is printed off the page...)
> 
> 
> plot(PRE_SHB,R1,
>  main="Figure 1.1: Scatterplot of Residualized
>  Post Score",
>  xlab = "Pre Score",
>  ylab = "Residualized Post Score \n
>   (Adjusted for Age and Gender)")
> 
> Thanks!!
> 
> Dan
> 
>     [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>



More information about the R-help mailing list