[R] Label axis with strings instead of numbers

Rui Barradas ruipbarradas at sapo.pt
Thu Nov 29 18:12:25 CET 2012


Hello,

Use argument yaxt = "n" of function symbols. yaxt means "y axis type" 
and "n" for "none" (or "no").
Then plot the axis with axis(2, ...)

Hope this helps,

Rui Barradas
Em 29-11-2012 16:17, seanlilley escreveu:
> Hi,
>
> The axis function plots an axis ontop of my current axis. So although I am
> able to write my labels in, they are written ontop of the numbers in the
> current axis rather than replacing them. Any other alternatives?
>
> Sean
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Label-axis-with-strings-instead-of-numbers-tp4651275p4651305.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