[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:15:32 CEST 2004


On Fri, 18 Jun 2004, 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 get the the panel titles on a quartz() device.

	-thomas

>
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list