Perhaps then you would rather use the axis() command?

Say you wanted the text "hello" to be placed at y=0.5, then you might try

 > par(las=1)
 > axis(side=2, at=0.5, label="hello")

Cheers,

Matthew

squall44 wrote:
> Thanks for your answers, Matthew and Uwe.
>
> I used...
>
> par(las=1)
> mtext(side=2)
>
> ...and then I adjusted it using 'padj'.
>
> The problem is that if I change the proportions of the graph, the mtext will
> move up or down (relativly to the y-axis).
>
> By not using 'par', I can use 'adj' instead of 'padj' to adjust the mtext
> vertically. That way, the mtext not move relativly to the y-axis.
>
> Can anyone help me to get around this problem, please?
> Thx Tobias
>  
>
> squall44 wrote:
>   
>> Hello,
>>
>> Does anyone know if it's possible to change the text direction of mtext?
>>
>> I'd like to use 'mtext(side=2)' but the text should be 'left-to-right'.
>>
>> I couldn't find an argument for that in the help files.
>>
>> Thanks for any suggestions
>> Tobias
>>
>>     
>
>

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to