On Tuesday 10 February 2004 18:07, Jeff Jorgensen wrote:
> Dear R'ers,
>
> I've scanned available documentation and the web, but I can't seem to
> figure out where I've gone wrong in adding numbers to scale the colorkey in
> levelplot (Lattice package). For example,
>
> levelplot(z, contour=T, labels=T, cuts=10, region=T,...
> colorkey=list(T, space="bottom",
^
what's this for ?
> at=seq(0,2000,length=20),
> labels=list(as.character(seq(0,2000,length=20)))) )
I think you wanted to do
colorkey = list(space = "bottom",
labels = list(at = seq(0,2000,length=20),
lab = seq(0,2000,length=20)))
and then you would have changed the 20 to 21 :-)
Deepayan
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html