plot.skyscapeR.horizon {skyscapeR} | R Documentation |
Plot horizon data
Description
This function creates a plot of horizon data.
Usage
## 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 |
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
Examples
# 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)
[Package skyscapeR version 1.0.0 Index]