plot.skyscapeR.horizon()

Scientific results for this function.

Thin-wall and partial-occlusion fixtures distinguish numerical altitude error from the visible width in a panorama. H04 validation study.

W01 checked the skyline ordinate and azimuth viewport on flat and raised profiles, including natural and publication sky overlays. W01 results.

Function index

A track meeting the horizon identifies a possible rise or set direction for that declination. The horizontal axis is true bearing and the vertical axis is angular altitude. The function fills the terrain below the stored profile and can overlay diurnal tracks computed for the observing location. Refraction affects those tracks. Rescaling the display or changing its colours does not change the underlying horizon. Add lines or polygons in azimuth and altitude immediately after plotting. Set par(mfrow=c(2,1)) before plotting to stack two horizons.

For a two-year epoch range, draw tracks for the stored minimum and maximum declinations, using the session refraction setting for both tracks. Line styles are taken from the target object; objects without stored styles use solid lines of width 1.

Shading and numerical altitude.

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

Object of skyscapeR.horizon format.

show.az (!missing(xrange) || !missing(xlim))

Logical that controls whether to display azimuth values or cardinal directions. Defaults to TRUE when xrange is supplied.

xrange —

Azimuth range for plotting.

yrange —

Altitude range for plotting. By default one degree of altitude occupies the same distance as one degree of azimuth on the device.

obj —

A skyscapeR.object from skyObject, or a list of these objects. Each group retains its own epochs and styles for displaying the paths of celestial objects.

col.ground NULL

Silhouette colour. NULL uses a dark muted foreground for natural skies, pale grey-green for publication colour or grey for monochrome.

col.sky —

Earlier name for a solid sky colour. Prefer sky.

use.image TRUE

Use an attached external panorama PNG when available. Default TRUE. Missing or changed files warn and fall back to the numerical silhouette.

... —

Additional arguments to be passed to plot.

show.skyline NULL

Draw the numerical skyline. By default the line appears only without a panorama PNG.

sky NULL

A colour string or a background from sketchSky or stellariumSky.

xlim —

Earlier name for xrange.

ylim —

Earlier name for yrange.

fastLoad FALSE

Use a sampled PNG for quick plots. New photographic imports store a preview. For older horizons the first preview loads the image. The numerical skyline and celestial tracks retain their precision.

show.legend TRUE

Display the key for celestial tracks. The angular axes are always drawn.

style NULL

Frame and silhouette style. A sketch supplies its stored style by default. Without a sketch the default is "publication-colour". Other choices are "natural" and "publication-mono". Supplied panorama pixels and sky objects retain their own rendering.

Return value

Draws the horizon and returns the session atmosphere invisibly in a list.

Layers and coordinate consistency

A reusable sky is calculated for its own stored location and instant. Pair it with the horizon used to create it; drawing a saved sky does not recalculate its positions for another observer. Celestial reference tracks from skyObject use the plotted horizon's location and session atmosphere. Keep that atmosphere consistent with the stored sketch when comparing a track with a disc or point symbol.

The foreground masks sky layers geometrically. It does not make the sky object an extinction or visibility calculation through the terrain. Image calibration and numerical skyline agreement remain the responsibility of the horizon source. Azimuth-altitude plotting is a cylindrical display, with increasing horizontal distortion towards the zenith. Retain consistent ranges when comparing styles, epochs or constellation traditions.

Implementation. R/plotting.R. Full function help · Terrain horizons · Sky reconstruction · Terrain horizons and panoramas outline · Photographic calibration and interchange · Generating a terrain panorama · Display styles, capture and stepping time · Importing site horizons · Equinoctial sunrise · The heliacal rising of the Pleiades · Watch the cluster rise later in the season · Exploring celestial candidates · Compare the three sky styles · Compare constellation patterns · Capture a sky from Stellarium