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:
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
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:
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)
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
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
6 matches
Mail list logo