[R] changing text direction of mtext

2007-08-24 Thread squall44
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 -- View this message in context:

Re: [R] changing text direction of mtext

2007-08-24 Thread Matthew Walker
You might like to try par(las=1). Cheers, Matthew 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

Re: [R] changing text direction of mtext

2007-08-24 Thread Uwe Ligges
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. It's just one help file you have to read: ?mtext. Please also

Re: [R] changing text direction of mtext

2007-08-24 Thread squall44
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'

Re: [R] changing text direction of mtext

2007-08-24 Thread Matthew Walker
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)