[R] can't get text to appear over individual panels in multi-panel plot

Thomas Lumley tlumley at u.washington.edu
Fri Jun 18 16:18:07 CEST 2004


On Fri, 18 Jun 2004, Jari Oksanen wrote:

>
> On 18 Jun 2004, at 8:26, Deepayan Sarkar wrote:
>
> >
> > On Thursday 17 June 2004 22:57, Patrick Bennett wrote:
> >
> >> yes, i can reproduce that same graph when i print to the pdf-device.
> >> but the panel titles do not appear when I print to the Quartz-device.
> >
> > Hmm. I won't be able to help you then, let's hope someone else can.
>
> I think this is a problem with the quartz device. I have often see that
> margin texts are plotted even in ordinary plot() if quartz thinks there
> is no space for them. They do still appear if you copy the screen
> graphics as a pdf file. In Linux (my principal platform) I typically
> reduce the white margins, but if I use the same mar pars in MacOS X I
> won't get axis labels. Quartz is the culprit I suppose.
>

It would be useful to send bug reports for this sort of thing...


> Actually, in your example I couldn't get the texts when I saved the
> plot as a pdf (menu entry). However, when I opened an X11 device, the
> text was reproduced OK.  So it looks like a quartz problem.

I get the right output on both quartz() and x11().


> Windows plotting device in some other OS. -- And beware: I have a
> suspicion that if you stop your X11 in MacOS X, your mouse will die at
> logout and you got to boot (or restart the mouse demon if you know  who
> he is).

I have never seen this problem.

	-thomas




More information about the R-help mailing list