[R] tick marks on mfrow=c(3,3) plot (with simple example)

Ben Bolker ben at zoo.ufl.edu
Tue May 2 20:09:09 CEST 2000


  Hmmmm.  Here (using version 1.0.0 on RH Linux 6.0) I can't seem to
replicate your problem.
  Three thoughts:
1. What version, etc., are you using?  It might be worth running
bug.report() just to extract this information in a compact form, even if
this doesn't turn out to be a "real" bug (you don't actually have to
submit the bug report).
2. Does it still happen if you do "R --vanilla"?  This is a way of turning
off all reading of saved workspaces, etc., etc., in case there's something
odd in there.
3. It's possible (??) that some of this is caused by the size of your
graphics window.  I had never realized it before, but X (the Unix graphics
system) actually makes numbers etc. disappear if they would overlap.  I
don't know exactly what the criteria are, but resizing my graphics
window smaller and smaller and watching various pieces of the graphics
disappear was enlightening.  It explains why some labels just don't appear
under some circumstances, which had always bothered me -- now I see that
it seems to be a property of X, rather than R.  (Anyone know if it's
possible to set a flag that turns this behavior off???)


On Tue, 2 May 2000, Tony Long wrote:

> Sorry:
> 
> 	I should have reproduced the "problem" with a simple example.  I do
> this below.  I think there is likely a switch I can change using par, but
> don't know what it is.  The problem is the tick marks for the Y- axis are
> only on plots in column #1 and for the X-axis in row # 2.  Tony
> 
> 
> x <- 1:10
> y <- 1:10*5
> par(mfrow=c(2,2))
> plot(x,y)
> plot(x,y)
> plot(x,y)
> plot(x,y)
> par(mfrow=c(1,1))
> 
> Tony Long
> Ecology and Evolutionary Biology
> Steinhaus Hall
> University of California at Irvine
> Irvine, CA
> 92697-2525
> 
> Tel:  (949) 824-2562   (office)
> Tel:  (949) 824-5994   (lab)
> Fax: (949) 824-2181
> 
> email:  tdlong at uci.edu 
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 
> 

-- 
Ben Bolker                                  bolker at zoo.ufl.edu
Zoology Department, University of Florida   http://www.zoo.ufl.edu/bolker
318 Carr Hall/Box 118525                    tel: (352) 392-5697
Gainesville, FL 32611-8525                  fax: (352) 392-3704


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