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

Deepayan Sarkar deepayan at stat.wisc.edu
Fri Jun 18 07:26:38 CEST 2004


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.

Deepayan

> On Jun 17, 2004, at 11:47 PM, Deepayan Sarkar wrote:
> > On Thursday 17 June 2004 22:24, Patrick Bennett wrote:
> >> I neglected to say that I am using the R-Aqua interface and the
> >> MASS, grid, & lattice packages.
> >>
> >> Here is one specific example where I'm having trouble.
> >>
> >> After loading the crabs data set, I create the figure with the
> >> following code (which is taken from MASS):
> >>
> >> lcrabs.pc<-predict(princomp(log(crabs[,4:8])))
> >> sex<-crabs$sex;levels(sex)<-c("Female","Male")
> >> sp<-crabs$sp;levels(sp)<-c("Blue","Orange")
> >> splom(~lcrabs.pc[,1:3] | sp*sex,cex=0.5,pscales=0)
> >>
> >> The figure is plotted in the Quartz window: everything looks OK
> >> except for the lack of text above the individual panels.
> >
> > Here's what I get (on a pdf device), and it looks OK to me.
> >
> > http://www.stat.wisc.edu/~deepayan/R/crabs.pdf
> >
> > If this is not what you see, then there might be a problem with
> > your device driver.
> >
> > Deepayan




More information about the R-help mailing list