[R] Missing axis labels
fisher at plessthan.com
Fri May 1 16:10:42 CEST 2015
This is a general question, not specific to OS X.
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)
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 Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
More information about the R-help