Re: [R] Removing X and Y labels in graph error

2011-02-08 Thread poolmunch
Hey thanks for all the help, I did end up using layout, par, mar to reduce the labelling area and combine it with other plots. I also now understand NULL was the wrong argument to place in the field. Thanks again -- View this message in context: http://r.789695.n4.nabble.com/Removing-X-and-Y

Re: [R] Removing X and Y labels in graph error

2011-02-08 Thread Eik Vettorazzi
Have a look at ?par especially the "mar" argument, to get rid off the boundaries reserverd for labelling. Am 08.02.2011 21:36, schrieb poolmunch: > > Hello, had a quick search on the site but no luck. > > Heres my problem, when attempting to xlab = NULL and ylab = NULL it displays > > x[[1L]]

Re: [R] Removing X and Y labels in graph error

2011-02-08 Thread Greg Snow
--- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of poolmunch > Sent: Tuesday, February 08, 2011 1:37 PM > To: r-help@r-project.org > Subject: [R] Removing X and Y labels in graph error > > > Hello, had a quick search on the si

Re: [R] Removing X and Y labels in graph error

2011-02-08 Thread David Winsemius
On Feb 8, 2011, at 3:36 PM, poolmunch wrote: Hello, had a quick search on the site but no luck. Heres my problem, when attempting to xlab = NULL and ylab = NULL it displays Those are the default settings: ?plot.default ... , xlab = NULL, ylab = NULL, ... xlab a label for the x

Re: [R] Removing X and Y labels in graph error

2011-02-08 Thread Phil Spector
Contrast the behaviour of these two statements: plot(x,y,xlab=NULL,ylab=NULL) plot(x,y,xlab='',ylab='') In other words, use xlab='' to supress the label, not NULL. - Phil Spector Statistical Computing Facility

[R] Removing X and Y labels in graph error

2011-02-08 Thread poolmunch
Hello, had a quick search on the site but no luck. Heres my problem, when attempting to xlab = NULL and ylab = NULL it displays x[[1L]] and X[[2L]] as labels on the axis. plot(USSenate[,1:2],col=c("blue","grey","red")[unclass(USSenate$Senate)],pch=unclass(USSenate$Senate), type="n",xaxt="n", y