[R] scales in xyplot doesn't seem to work for x axis

Ernesto Jardim ernesto at ipimar.pt
Thu Jun 5 13:41:30 CEST 2003


Hi

I'm doing a xyplot and I wand to reduce the number of tick marks in the
x axis. My x axis are month and I want to reduce the 12 tick marks to 4.
I used the scales argument but it doesn't seem to work, althougth it
works on y axis if I use scales=list(tick.number=4).

xyplot(land~mes|porto+arte,data=hom.land.mpa[hom.land.mpa$arte!="pseine",],type="l",scales=list(x=list(tick.number=4)))

Regards

EJ

-- 
Ernesto Jardim <ernesto at ipimar.pt>
Marine Biologist
IPIMAR, Lisboa, Portugal
SuSE Linux 8.1;R 1.7.0;LyX 1.3.2;Gnome 2.2.2;OO1.1Beta




More information about the R-help mailing list