[R] tick marks and layout

Matthew Wiener mcw at ln.nimh.nih.gov
Tue Jul 27 18:17:53 CEST 1999


Hi, all.

Layout seems to put tick marks only in the leftmost column (for the y
axis) and bottom row (for the x axis).  This is easy to see using the
following trivial program:

function (nr, nc)  {
    layout(matrix(1:(nr * nc), nr, nc)) 
    for (i in 1:(nr * nc)) {
        plot(rnorm(10), rnorm(10)) 
    }
    layout(matrix(1, 1, 1)) 
}


I'd like to be able to override this behavior and put
tick marks everywhere, but I can't find one.  Does anyone know of a way?
(Some values of the "respect" argument to layout eliminate the ticks on
the leftmost y axes, but none seem to get *more* ticks.)

I'll summarize to the list (until tomorrow afternoon, when I go away for a
few days).

Thanks,

Matt

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list