[R] Tick label orientation

Murray Jorgensen maj at stats.waikato.ac.nz
Thu Apr 2 06:16:20 CEST 2009


I had hoped that

plot(c(0,24),c(0,-6),xlab="Time",ylab="Day",
      type="n", main="This Week",axes=FALSE)

axis(2,at=0:(-6), labels = 
c("Sun","Mon","Tues","Wed","Thurs","Fri","Sat"),hadj=TRUE)
axis(1,at=seq(0,24,4))

would give me horizontal tick labels.
It doesn't.  What would?

Murray
-- 
Dr Murray Jorgensen      http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz                                Fax 7 838 4155
Phone  +64 7 838 4773 wk    Home +64 7 825 0441   Mobile 021 0200 8350




More information about the R-help mailing list