plot.skyscapeR.pdf()

Scientific results for this function.

In W01 the shaded components matched the two intervals returned by hpdi() for a bimodal density. W01 results.

Function index

Individual curves reveal whether measurements overlap or have disjoint high-density regions. In the stacked view, each selected density is scaled by its own peak for display and its highest-density regions are shaded using hpdi. Heights across different rows therefore do not measure relative probability mass. Use the linked panels for one transformed observation to inspect how its source azimuth distribution and horizon produce the declination distribution. Its annotation gives the measurement name and the highest-density declination interval or intervals containing the requested probability mass. Every disjoint component is listed in the HDR readout. Standalone curves have a fixed label column.

With neither source input supplied, plot the distributions alone. With both az and hor, show the information, azimuth, transformation and declination panels. A single index is required for combined panels. Supplying only one source input is an error, as is supplying source inputs for an azimuth distribution. Source inputs must be named explicitly.

Interpretation and limits. An interval bar, a bearing spoke and a density curve encode different features of a measurement. Retain individual measurement identities, especially where overplotting makes repeated orientations appear to be a single observation.

Implementation arguments, return value and documented modes
Argument Formal default Behaviour in this interface
x —

A skyscapeR.pdf object created with either az.pdf or coordtrans

index —

A value to indicate which distribution to plot, when only one is desired.

hdr 0.954

High density region to highlight. Defaults to 0.954

show.az —

Deprecated and ignored, with a warning when supplied. Provide both az and hor for the combined panels, or omit both for distributions alone.

xrange —

Range of x-axis to plot.

col NULL

Fill colour for highest-density regions. NULL uses the current style.

... —

Additional arguments to be passed to plot.

az —

Original azimuth skyscapeR.pdf, in the same order and with the same number of distributions as x. Supply together with hor to show combined panels for a single declination distribution.

hor —

Original horizon object, or a list of horizons in the same order and with the same length as the distributions in x. Supply with az.

xlim —

Earlier name for xrange.

show.legend TRUE

Show the HDR mass above stacked densities. The linked diagnostic always identifies its component panels and reports the numerical interval or intervals.

style "publication-colour"

Analytical display style, either "publication-colour" (default) or "publication-mono". Monochrome uses grayscale and preserves line styles.

Return value

Draws the selected probability distributions and requested intervals on the active graphics device.

Implementation. R/plotting.R. Full function help · Uncertainty and orientation distributions outline · What the orientation displays calculate · Give each opening a distribution