plotAzimuth: Polar plot of orientations (azimuths)

Description Usage Arguments Examples

View source: R/plotting.R

Description

Polar plot of orientations (azimuths)

Usage

1
plotAzimuth(az, col = "blue", lwd = 1.5, lty = 1, obj, show.obj.labels = T)

Arguments

az

(Optional) Array of azimuths. Can be omitted is obj is given.

col

(Optional) Single color or color palette to use for plotting measurements.

lwd

(Optional) Line width to plot measurements. Defaults to 1.

lty

(Optional) Line type to plot measurements. Defaults to 1.

obj

(Optional) A skyscapeR.object object created with sky.objects for displaying the azimuths of celestial objects. Note that this assumes a single location and a flat horizon of zero degrees.

show.obj.labels

(Optional) Boolean to control whether to display celestial objects names. Defaults to TRUE.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Plot some azimuth data:
az <- c(120, 100, 93, 97, 88, 115, 112, 67)
plotAzimuth(az)

# To visualize this data against the common solar and lunar targets:
tt <- sky.objects('solar extremes', epoch=-2000, loc=c(35,-8), col='red')
plotAzimuth(az, obj=tt)

# To display only celestial objects
plotAzimuth(obj=tt)

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