[R] Title for y-axis on right side

Andrew Miles rstuff.miles at gmail.com
Fri Dec 17 14:42:41 CET 2010


Take a look at mtext() which offers options for writing text in any  
margin of the table.

Andrew Miles

On Dec 17, 2010, at 6:41 AM, phils_muell at arcor.de wrote:

> Hi,
>
> I want to have a title for the y-axis on the right side of the plot.
> I know how to do it on the left side:
>
>> title(ylab="Title for y-axis")
>
> But how can I have the title on the right side?
>
> Greets,
> Phil
>
> ______________________________________________
> 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