[R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread madr
Labels are still present on graph render, their names are x and y that is the same as I used on the variables to supply data for chart. How to get rid of them. -- View this message in context:

Re: [R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread David Winsemius
On Nov 21, 2010, at 10:21 AM, madr wrote: Labels are still present on graph render, their names are x and y that is the same as I used on the variables to supply data for chart. How to get rid of them. The term labels as used in functions is different than the graphical objects

Re: [R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread madr
here's the code x= c(1,5,7,3,4) y= c(2,4,5,2,5) plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(0, 0, 0, 0.5), xaxt=NULL,yaxt=NULL, xlab=NULL,ylab=NULL) and x and y are still visible -- View this message in context:

Re: [R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread Luke Miller
Replace the xlab=NULL and ylab=NULL in your example code with xlab= and ylab= to remove the x and y labels on your axes. If you're also trying to remove the ticks and tick labels, substitute xaxt=n and yaxt=n into your code. x= c(1,5,7,3,4) y= c(2,4,5,2,5)

Re: [R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread David Winsemius
On Nov 21, 2010, at 11:02 AM, madr wrote: here's the code x= c(1,5,7,3,4) y= c(2,4,5,2,5) plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(0, 0, 0, 0.5), xaxt=NULL,yaxt=NULL, xlab=NULL,ylab=NULL) and x and y are still visible ?par for valid xaxt and yaxt values. And

Re: [R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread Peter Ehlers
On 2010-11-21 08:02, madr wrote: here's the code x= c(1,5,7,3,4) y= c(2,4,5,2,5) plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(0, 0, 0, 0.5), xaxt=NULL,yaxt=NULL, xlab=NULL,ylab=NULL) and x and y are still visible If you just want to remove both axis titles (xlab and