[R] tck = 0 for the colorkey?

2012-07-13 Thread Martin Ivanov
 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. 

Any suggestions will be appreciated.

Best regards,

Martin


-
Гражданска отговорност – Цените на компаниите
http://www.sdi.bg/onlineInsurance/?utm_source=gbgutm_medium=txtLinkutm_content=home

__
R-help@r-project.org mailing list
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.


Re: [R] tck = 0 for the colorkey?

2012-07-13 Thread Deepayan Sarkar
On Fri, Jul 13, 2012 at 12:21 PM, Martin Ivanov tra...@abv.bg 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

__
R-help@r-project.org mailing list
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.