On Tue, 11 Sep 2018, Bert Gunter wrote:> Adding > tck = c(1, 0) > to the "scales =" list will probably solve your problem.Bert, How interesting. This removed the tick marks on top but left them on the right axes. Will think more about this. Regards, Rich
?? Not when I run your code with the tck specification added. Show us your xyplot invocation. It should be scales = list(tck = c(1,0), x= etc.) Bert On Tue, Sep 11, 2018 at 3:51 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:> > On Tue, 11 Sep 2018, Bert Gunter wrote: > > > Adding > > tck = c(1, 0) > > to the "scales =" list will probably solve your problem. > > Bert, > > How interesting. This removed the tick marks on top but left them on the > right axes. Will think more about this. > > Regards, > > Rich > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.
On Tue, 11 Sep 2018, Bert Gunter wrote:> Not when I run your code with the tck specification added. Show us > your xyplot invocation. It should be > scales = list(tck = c(1,0), x= etc.)Bert, Command: rain.all.sum <- xyplot(Sum ~ Month, data=agg.all, col = 'black', type = 'h', main = 'Monthly Total Precipitation\n2005-2018', xlab = 'Year and Month', ylab = 'Precipitation (in)', scales = list(x = list(tck = c(1, 0), at = seq(1,162,by=6), cex = 0.7, rot = 90))) rain.all.sum.pdf attached. Regards, Rich -------------- next part -------------- A non-text attachment was scrubbed... Name: rain.all.sum.pdf Type: application/pdf Size: 6640 bytes Desc: URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20180911/bc738398/attachment-0002.pdf>