Description Usage Arguments Details Author(s) See Also Examples
Adds an axis to the current plot.
1 2 3 4 |
side |
an integer specifying which side of the plot the axis is to be drawn on. The axis is placed as follows: 1=below, 2=left, 3=above and 4=right |
at |
the points at which the major tick-marks are to be drawn |
labels |
should axis annotation be added |
majticks |
should major tick marks be included |
minticks |
should minor tick marks be included |
nmaj |
number of major tick marks |
nmin |
number of minor tick marks between major marks |
unlog |
unlog axis annotation when the data is logged (base 10) |
format |
format for axes labelling (see 'formatC') |
digits |
number of digits for axes labels |
las,mgp,tcl |
standard 'par' plotting parameters |
dexcl |
distance from major tick marks within which no minor tick labels should be plotted |
... |
additional arguments to be passed to 'axis' |
The mid-level function 'aaxis' (astro:axis) is a wrapper around the R function 'axis'. It provides significant additional features which trivially allow the creation of figures more suited for a scientific audience. Notably, 'aaxis' allows minor tick-marks and logged axes to be created with the minimum of effort.
Lee Kelvin <lee.kelvin@uibk.ac.at>
The astronomy package: astro
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.