> Does anybody knows a command to centre the tick mark labels exactly
> between the tick points (right shift)?
> And then to exclude the last tick label on  the right?
> 
> I know one can shift them using the 'hadj' option in par. But I am
> wondering if there is a more convenient command!

A little nasty, but:

plot(1:10, axes=FALSE)
par(tcl=-0.5)
Axis(side=1, at=c(1,5,9), labels=rep("",3))
par(tcl=0)
Axis(side=1, at=c(3,7), labels=c("foo", "bar"))

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to