[R] no y-axis

arun smartpink111 at yahoo.com
Mon Nov 12 20:17:20 CET 2012


HI,
May be this helps:
 par(bty="n")

 plot(1:10,yaxt="n")
 axis(2, at = 1:10, labels = 1:10, tick = FALSE)
A.K.



----- Original Message -----
From: Geophagus <fh at retposto.net>
To: r-help at r-project.org
Cc: 
Sent: Monday, November 12, 2012 12:18 PM
Subject: Re: [R] no y-axis

Hi and thanks for your answer,

I need no axis - only the labels.
In your example 1 to 10.

Greetz
GeO



--
View this message in context: http://r.789695.n4.nabble.com/no-drawn-y-axis-but-values-tp4649298p4649324.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at 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.





More information about the R-help mailing list