[R] can't get text to appear over individual panels in multi-panel plot
Deepayan Sarkar
deepayan at stat.wisc.edu
Fri Jun 18 05:47:25 CEST 2004
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