Dear mailing list, I am trying to find out, how do a levelplot without labels on the x- and y-axis. The labels=FALSE does not work...can anyone help me? m <- matrix(1:25, ncol=5) levelplot(m, labels=F) Regards, Benedikt
This would do levelplot(m, xlab="", ylab="") F zacher at lmb.uni-muenchen.de wrote:> Dear mailing list, > > I am trying to find out, how do a levelplot without labels on the x- and y-axis. > The labels=FALSE does not work...can anyone help me? > > m <- matrix(1:25, ncol=5) > levelplot(m, labels=F) > > Regards, > > Benedikt >
On 2010-05-21 8:57, zacher at lmb.uni-muenchen.de wrote:> Dear mailing list, > > I am trying to find out, how do a levelplot without labels on the x- and y-axis. > The labels=FALSE does not work...can anyone help me? > > m<- matrix(1:25, ncol=5) > levelplot(m, labels=F) >1. This is a function in the lattice package; it's best to indicate that in your post. 2. Here's what ?levelplot says for the argument 'labels': "typically a logical indicating whether contour lines should be labelled" That seems to be pretty clear about what 'labels=' does. 3. If you can't find a description of an argument for a lattice function, look at ?xyplot where the common arguments are described. Here you will find descriptions of 'xlab', 'ylab'. -Peter Ehlers> Regards, > > Benedikt >
I am not sure if I am correct but I think the labels argument pertains only to the counterplot function. Cheers, Andy __________________________________ Andy Jaworski 518-1-01 Process Laboratory 3M Corporate Research Laboratory ----- E-mail: apjaworski@mmm.com Tel: (651) 733-6092 Fax: (651) 736-3122 From: <zacher@lmb.uni-muenchen.de> To: <r-help@r-project.org> Date: 05/21/2010 10:43 AM Subject: [R] Levelplot Sent by: <r-help-bounces@r-project.org> Dear mailing list, I am trying to find out, how do a levelplot without labels on the x- and y-axis. The labels=FALSE does not work...can anyone help me? m <- matrix(1:25, ncol=5) levelplot(m, labels=F) Regards, Benedikt ______________________________________________ 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. [[alternative HTML version deleted]]