R 3.2.0
OS X
This is a general question, not specific to OS X.  

Colleagues

Often, one or more values on an axis will be omitted, presumably in order to 
prevent overlap.  However, there are situations where I would like to override 
that omission.  Sample code:
        pdf("labels.pdf", width=3, height=3)
        plot(0:100, 0:100)
        graphics.off()
Here, 100 is omitted from the x-axis and 20, 60, and 100 from the y-axis.  

Is there is automated way to detect which values will be omitted (i.e., without 
seeing the graphic)?  

If so, I see two options:
        1.  change the font size
        2.  force the entry, e.g., axis(1, 100, at=100)

Dennis


Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to