This function adds cardinal directions to axis labels in a map.
addAxis(side, at = axTicks(side), mgp = par()$mgp, digits = 0, ...)
side | an integer between 1 (bottom x-Axis) and 4 (right y-Axis). |
---|---|
at | values on the axis to add labels. |
mgp | customize axis positions. See |
digits | number of digits of labels. |
... | other parameters to pass to |
Nicolas CASAJUS, nicolas.casajus@gmail.com
addAxis(1)addAxis(3, lwd = 0, lwd.ticks = 0.5)addAxis(4, las = 1, col.axis = "red")