[R] Undesired tick marks on top, right axes

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Wed Sep 12 01:02:47 CEST 2018


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>


More information about the R-help mailing list