Message-ID: <2CBA40BA-2367-437C-BEEF-4DCF0DF780EE@gmail.com>
Date: 2011-03-27T17:28:37Z
From: Sébastien Durand
Subject: Minor tick marks in spplot
Hello to all,
I wish to add minor tick mark to the already existing major tick marks on the following plot
I wish those minor tick marks to be shorter and grey
Here is an example...
data(meuse.grid)
m = SpatialPixelsDataFrame(points = meuse.grid[c("x", "y")], data = meuse.grid)
spplot(m, zcol="dist", contour=TRUE, pretty=TRUE,
scales= list(draw = TRUE, alternating=c(1,0), tck=c(1,0)))
# I have tried the yscale.components.subticks and xscale.components.subticks but I am not able to make it work when I used the spplot...
Any hints...
Thanks a lot.