histAxes | R Documentation |
Do the histogram axes in vignette MEE_reproduce_2.Rmd
and later, since almost all
panels will have same axes. Not very flexible, so may need histAxes2()
to plot up to 10,000 (though that needs working on, or adapt this one).
histAxes(
yBigTickLab = c(0, 2000, 4000),
yBigTickNoLab = seq(0, 6500, 1000),
ySmallTick = seq(0, 6500, 500),
cexAxis = 0.9,
xsmallticks = seq(-3.5, 0.5, 0.1),
xbigticks = seq(-3.5, 0.5, 0.5),
vertCol = "red",
vertThick = 1,
b.known = -2
)
yBigTickLab |
y-axis big ticks to label |
yBigTickNoLab |
y-axis big ticks to not label |
ySmallTick |
y-axis small ticks (unlabelled) |
cexAxis |
font size for axis labels, defaults are for
|
xsmallticks |
where to put unlabelled small tick marks on x-axis |
xbigticks |
where to put big tick marks on x-axis |
vertCol |
vertCol colour of vertical line for |
vertThick |
thickness of vertical line for |
b.known |
known value of $b$ |
Adds axes to existing histogram
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.