[R] Warped Text in mtext in a Quartz-Window

Bernhard Pollner bernhard at bpollner.net
Tue Jun 22 04:28:41 CEST 2010


With one procedure, I get a strangely warped text in the mtext-area of a quartz-window, while with an other the text comes out OK - see attached PDF.
(Number of Trials is the x-Axis label, which always comes out OK)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Warped Text.pdf
Type: application/pdf
Size: 24420 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100622/bb3750aa/attachment.pdf>
-------------- next part --------------

The two procedures differ in the statistics they perform and in the graphics they draw, but the writing of the (different) text in the bottom are of the quartz-window is the same function for both procedures. Only that one time the text comes out correct, the other time it is warped.

The mtext is defined as follows:
mtext(TheTextVariable, side=1, outer=TRUE, adj=0.5, line=0.5, col=TheColor)

R Version 2.11.1 (2010-05-31), OSX 10.6.4

Can someone give me a hint what could cause this unexpected behaviour?

Thanks a lot,
kind regards,
Bernhard Pollner

More information about the R-help mailing list