plotBars()
Scientific results for this function.
W01 checked the endpoints and row labels of an azimuth interval spanning north. W01 results.
A row represents one measurement. Its horizontal bar spans the supplied value minus and plus its uncertainty, and an optional mark shows the centre. A scalar uncertainty is reused for all rows. Sorting rearranges measurements, labels and widths together. Celestial overlays use the declination axis. The widths reflect the supplied uncertainties and acquire a probability interpretation only from the measurement model.
For a two-year epoch range, celestial targets are displayed as bands covering their stored minimum and maximum declinations across the full plot height. Single-year targets are displayed as lines.
The quantity represented on the angular axis.
Implementation arguments, return value and documented modes
| Argument | Formal default | Behaviour in this interface |
|---|---|---|
val |
— | Array of declination or azimuth values. |
unc |
— | Single value or array of measurement uncertainty |
names |
— | Array of names of measurements in val |
unit |
"Declination" |
(Optional). Either 'Declination' or 'Azimuth'. Defaults to 'Declination'. |
obj |
— | A skyscapeR.object from |
show.obj.label |
TRUE |
Logical. Label celestial overlays on the declination plot. Defaults to TRUE. |
xrange |
— | Array of limits for x-axis. |
yrange |
— | Array of limits for y-axis. |
sort |
FALSE |
Logical to control whether to sort the measurements by their declination value. Defaults to FALSE |
shade |
TRUE |
Logical to control whether to shade a polygon of measurements. Defaults to TRUE |
mark |
TRUE |
Logical to control whether to mark the declination value. Defaults to TRUE |
col |
NULL |
Measurement colour. NULL uses the current style. |
geometry |
if (missing(shade)) "interval" else "bar" |
Use |
show.legend |
TRUE |
Display target annotations when |
style |
"publication-colour" |
Analytical display style, either |
Return value
Draws orientation measurements and their uncertainties on the active graphics device.
Coordinates and interpretation
unit labels the measurement axis; it does not transform azimuths into
declinations. Celestial overlay values are declinations. Use them with
declination measurements, or convert measurements first using the appropriate
site and horizon. Bars show the supplied symmetric angular bounds, not fitted
confidence intervals. Use az.pdf, coordtrans and
spd when the full measurement distributions are needed.
Implementation. R/plotting.R. Full function help · Uncertainty and orientation distributions outline · What the orientation displays calculate · Start with the Ġgantija entrance bearings