plot.skyscapeR.horizon: Plot horizon data

Description Usage Arguments See Also Examples

View source: R/plotting.R

Description

This function creates a plot of horizon data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'skyscapeR.horizon'
plot(
  x,
  show.az = F,
  xlim,
  ylim,
  obj,
  refraction = F,
  col.ground = "#fdae61",
  ...
)

Arguments

x

Object of skyscapeR.horizon format.

show.az

(Optional) Boolean that controls whether to display azimuth values or cardinal directions. Defaults to FALSE.

xlim

(Optional) Azimuth rage for plotting.

ylim

(Optional) Altitude rage for plotting.

obj

(Optional) A skyscapeR.object object created with sky.objects for displaying the paths of celestial objects.

refraction

(Optional) Boolean switch controlling whether to take refraction into account when displaying the paths of celestial objects.

col.ground

(Optional) Color of the ground. Defaults to #fdae61.

...

Additional arguments to be passed to plot.

See Also

downloadHWT, sky.objects

Examples

1
2
3
4
5
6
7
# Plot a horizon retrieved from HeyWhatsThat:
hor <- downloadHWT('HIFVTBGK')
plot(hor)

# Add the paths of the solstices and equinoxes sun in the year 1999 BC:
tt <- sky.objects('solar extremes', epoch=-2000, col='blue')
plot(hor, obj=tt)

skyscapeR documentation built on Oct. 30, 2021, 1:06 a.m.