[R] y label perpendicular to the y axis

Henrique Dallazuanna wwwhsd at gmail.com
Mon Mar 10 15:41:30 CET 2008


Try:

par(mar=c(4,6,4,4))
plot(rnorm(100), ylab="")
mtext(side=2, text="Label", las=1, line=2)


On 10/03/2008, JuanCarlos CorreaMorales <jccorreamorales at yahoo.com> wrote:
> Hi R-users:
>
>   We need to place the y label horizontally on a plot.
>
>   Instead of
>      |
>   l  |
>   a |
>   b |
>   e |
>   l  |
>     |__________
>
>   we want
>            |
>            |
>    label |
>            |
>            |
>            |______________
>
>   We thank you any advice.
>
>   Yours,
>
>
>  Juan Carlos Correa, Ph.D.
>  Profesor Asociado
>  Escuela de Estadística
>  Universidad Nacional-Sede Medellín
>  A.A. 3840
>  Medellín COLOMBIA
>
>  ---------------------------------
>
>         [[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.
>
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list