Skip to content
Prev 44512 / 398502 Next

suppressing non-integer labels for plot x-axis

Jonathan Williams wrote:

            
In this case supress the drawing of the x-axis and specify it 
explicitly, see ?axis:

plot(p1, p2, xlab='Occasion', ylab='Score', xlim=c(1,3), ylim=c(0,30), 
xaxt="n")
axis(1, at=1:3)

Uwe Ligges