Skip to content
Prev 78738 / 398502 Next

plot - no main title and missing abscissa value

Iain Gallagher wrote:

            
Three points:

1. The main title appears for me under the Windows device. I really 
wonder why you do not see it, this seems to be quite a strange device 
dependence I would not expect in this case.
Since you told us you have "R 2.1", we do not know exactly what you have 
got - there is no such version. There are versions R-2.0.1, R-2.1.0 and 
R-2.1.1, though. Anyway, you told us you found a workaround.


2. In order to re-plot the axis labels, you should specify  xlab=NA, 
ylab=NA in your call to plot() as in:
plot(Day, Ym1Imp, ylim=c(0,100), type="b", bty="l", xlab=NA, ylab=NA,
     main="Ym1 Expression", cex=1.3, xaxt="n", yaxt="n")

3. As I have already guessed, the axis annotation of the tick at 
position 1 is left out because R thinks there is not enough space left.
You can workaround this point by making the label appear separately as in:
axis(side=1, at=c(0,3,5,7,10,14,21))
axis(1, 1)

Uwe Ligges