On Fri, Jul 13, 2012 at 12:21 PM, Martin Ivanov <
[hidden email]> wrote:
> Dear R users,
>
> I am struggling with the colorkey on a levelplot lattice graphic.
> I want that no ticks are printed on the colorkey. That is, I want their size tck=0.
> Merely setting tck=0 t in the colorkey parameter does not work. Setting it in the lattice.par.set()
> removes the ticks from the levelplot, but not from the colorkey.
The tick lengths are hard-coded. I will try to change that; meanwhile,
all I can suggest is something like
levelplot(volcano, colorkey = list(axis.line = list(col = NA)))
which unfortunately also removes the border around the colorkey.
-Deepayan
______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide
http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.