plot.skyscapeR.starphases()

Scientific results for this function.

Observational accuracy and validation.

Function index

Plot seasonal stellar visibility

Description

Compare the seasonal visibility of one or more stars at the modelled site and epoch. Each result shows the stellar name, designation and epoch. To compare one star across epochs, compute a phase object for each year and pass the second object to plot as its second argument.

Usage

## S3 method for class 'skyscapeR.starphases'
plot(
  x,
  y,
  show.labels = TRUE,
  show.legend = TRUE,
  show.grid = TRUE,
  sort.by,
  pal,
  ...,
  layout = c("auto", "linear", "circular"),
  style = "publication-colour"
)

Arguments

Details

Read each colour as a daily model classification: visible rising and setting, rising only, setting only, visible without a qualifying near-horizon passage, or invisible. The function plots the stored phase sequence on a 365-day scale and can label seasons or display a legend. A single result defaults to a circular view, advancing clockwise from December solstice. Further results use concentric rings with one leader per displayed layer; optional sorting uses the stored apparent magnitude or seasonal onset. Changing the display does not recalculate the visibility thresholds. Use plot(first, list(second, third)) to compare results.

Value

Draws on the active graphics device and returns NULL invisibly.

Validation

W01 checked season boundaries, event positions, quarterly landmarks and star, site and epoch labels in linear and circular layouts. See the W01 check in the technical manual.

Seasonal axis and comparison

The axis is a 365-sample synthetic solar-longitude cycle anchored at December solstice. Equinoxes and solstices mark quarter-cycle positions. The monthly dividers mark twelve equal intervals of 30 degrees in solar longitude, beginning at December solstice. For calendar dates use the underlying result's metadata$events$date.julian, as described in star.phases.

Objects may represent different stars, epochs, sites or model assumptions. Shared star, epoch and site appear once. Different epochs of the same star label individual rings or rows. Mixed comparisons identify both star and year. Hold the site, extinction and other inputs fixed for a controlled epoch comparison, or state their differences in the figure caption. Names on the supplied list can override the displayed star names. The legend contains only the union of season classes present in the plotted objects.

Event annotations follow the event table. The Schaefer first-morning and last-evening markers use the solar longitude of the predicted local date. Passage bands and the two other markers follow the Purrington seasonal classification. See V01 observed dates and scientific checks. A single ring labels each event by name on two lines just outside the rim. Its short leader meets the ring at the event's model day. A single ring shows the star, epoch and site in its centre. Rings for one star at several epochs show the star, designation and shared site in the centre, with a year for each ring. The circular layout labels the solstices and equinoxes outside its rim. Both layouts mark the event's model day, as recorded in the event table. The linear seasonal scale sits immediately below the lowest strip. Each quarter label aligns with its solstice or equinox across every row. Rising-event labels sit close above a single strip and setting-event labels close below it, leaving room for the seasonal scale where needed. Both layouts use the same sequence and colours; the circular layout makes the cycle boundary explicit. Labels wrap and shrink to fit; crowded comparisons need a larger device.

Scientific checks

See Also

star.phases

Examples

## Not run: 
if (requireNamespace("swephRdata", quietly = TRUE)) {
  # Plot the seasonality of Aldebaran for 4001 BCE:
  s1 <- star.phases('Aldebaran',-4000, c(35,-8, 200))
  plot(s1) # circular by default
  plot(s1, layout="linear")
  # Plot seasonality of several stars
  s2 <- star.phases('Alnilam',-4000, c(35,-8, 200))
  s3 <- star.phases('Elnath',-4000, c(35,-8, 200))
  plot(s1, s2)
  plot(s1, list(s2,s3))
  plot(s1, show.legend=FALSE, show.grid=FALSE)
}

## End(Not run)

Implementation. R/plotting.R. Full function help · Stellar visibility · Stellar positions and seasonal visibility outline · Comparing seasons · The heliacal rising of the Pleiades · Compare stellar seasons