[R] HELP ME
mark at myatt.demon.co.uk
Tue Nov 6 12:22:51 CET 2001
Damiano Visconti <davisco at tiscalinet.it> writes:
> I have a problem with R-graphics.
> Infact, I would want to plot a graphic with a logaritmic-scale on
> the axis Y,
> and I would want to see only the tickmarks (10e-1, 10e-2, 10e-3
> More easily, I must plot a cell loss probability in a node of
> telecomunication system.
> Thanks in advance,
Use log="y" and axes = FALSE on with plot() and then set the axes
directly using axis(). Something like:
plot(runif(100, 0, 100000), log = "y", axes = FALSE)
axis(2, at = 10^c(0:5),
labels = expression(10^0, 10^1, 10^2, 10^ 3, 10^4, 10^5))
Hope that helps,
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help