[R] plot - no main title and missing abscissa value

From: Iain Gallagher <i.j.gallagher_at_sms.ed.ac.uk>
Date: Mon 10 Oct 2005 - 21:20:32 EST


Hi all.

I have defined a plot thus:

par(mar=c(5,5,4,5),las=1, xpd=NA)
plot(Day, Ym1Imp, ylim=c(0,100), type="b", bty="l", main="Ym1 Expression", cex=1.3, xaxt="n", yaxt="n") #plot implant data axis(side=1, at=c(0,1,3,5,7,10,14,21), labels=c(0,1,3,5,7,10,14,21)) # label x axis
mtext("Day", side =1, at=10, line=3, cex=1.2) # title x axis

The problem with this graph is that the main title is missing and so is the digit "1" at the abscissa position 1 - although the other abscissa labels are all there as defined in the "axis" call.

Can anyone shed anylight on why this is? I'm using R 2.1 on OS X.

Thanks

Iain

-- 
Iain Gallagher
Institute for Infection & Immunology Research
Ashworth Laboratories
Kings Buildings
University of Edinburgh
Edinburgh
EH9 3JT
UK

(+44) 0131 651 3630

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Oct 10 21:27:42 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:41 EST