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
## S3 method for class 'skyscapeR.horizon'
plot(hor, obj, data, show.unc = F,
  show.ground = T, show.axes = F, xrange, yrange, legend = F)

Arguments

hor

Object of skyscapeR.horizon format.

obj

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

data

(Optional) A data.frame object with columns True.Azimuth and

show.unc

(Optional) Boolean that controls whether to display uncertainty in altitude. Default is FALSE.

show.ground

(Optional) Boolean that controls whether to dispaly the ground. Default is TRUE.

show.axes

(Optional) Boolean that controls whether to display azimuth values on horizontal axis and altitude on vertical axis. Default is FALSE.

xrange

Range of azimuth axis. Defaults to c(0, 360).

yrange

Range of altitude axis. Defaults to c(-10, 45).

legend

(Optional) Show legend. Defaults to FALSE.

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('sun', -2000, 'blue')
plot(hor, obj=tt)

f-silva-archaeo/skyscapeR documentation built on Jan. 15, 2019, 3:22 a.m.