[R] HELP ME

Mark Myatt
Tue, 06 Nov 2001 11:22:51 -0000

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
>    etc.).
>    More easily, I must plot a cell loss probability in a node of
>    telecomunication system.
>    ?
>    Thanks in advance,
>    Damiano.

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(1)
        axis(2, at = 10^c(0:5),
             labels = expression(10^0, 10^1, 10^2, 10^ 3, 10^4, 10^5))

Hope that helps,

Mark

--
Mark Myatt