[R] no y-axis

Rui Barradas ruipbarradas at sapo.pt
Mon Nov 12 16:58:26 CET 2012


Hello,

Like this?

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


Hope this helps,

Rui Barradas
Em 12-11-2012 10:08, Geophagus escreveu:
> HI @ all,
> I'm looking for a simple solution to supress the y-axis - but only the drawn
> scale - not the values.
> Only the numbers should be displayed.
> I tried yaxt="n" but there everything of the y-axis is supressed.
> Thanks
> GeO
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/no-y-axis-tp4649298.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