[R] Removing X and Y labels in graph error

Eik Vettorazzi E.Vettorazzi at uke.uni-hamburg.de
Tue Feb 8 23:32:16 CET 2011


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]] 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", yaxt="n",main = NULL, sub = NULL, xlab = NULL, ylab =
> NULL)
> 
> 
> 
> 
> Ive been able to get rid of it by xlab = " " but this is not satisfactory as
> the graph size must change as well.
> 
> Thanks to anyone who has a look at what must be a stupid question... 


-- 
Eik Vettorazzi
Institut für Medizinische Biometrie und Epidemiologie
Universitätsklinikum Hamburg-Eppendorf

Martinistr. 52
20246 Hamburg

T ++49/40/7410-58243
F ++49/40/7410-57790



More information about the R-help mailing list