plotBars: Bar plot of orientations (declinations)

Description Usage Arguments See Also Examples

View source: R/plotting.R

Description

This function creates a bar plot of orientation data.

Usage

1
2
plotBars(val, unc, names, obj, obj.label = T, col = "blue",
  shade = T, mark = T, sort = F, xrange, yrange)

Arguments

val

Array of declinations.

unc

Single value or array of declination uncertainty

names

(Optional) Array of names of measurements in val

obj

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

obj.label

(Optional) Boolean to control whether to label the celestial objects in the polar plot. Defaults to TRUE.

col

(Optional) Colour to plot measurments in. Defaults to blue.

shade

(Optional) Boolean to control whether to shade a polygon of measurements. Defaults to TRUE

mark

(Optional) Boolean to control whether to mark the declination value. Defaults to TRUE

sort

(Optional) Boolean to control whether to sort the measurements by their declination value. Defaults to FALSE

xrange

(Optional) Array of limits for x-axis.

yrange

(Optional) Array of limits for y-axis.

See Also

sky.objects

Examples

1
2
3
4
5
6
7
# Plot some declination data:
decs <- c(10, 12, -5, 4)
plotBars(decs, unc=5)

# To visualize this data against the common solar and lunar targets:
tt <- sky.objects(c('sun','moon'), epoch=-2000, lty=c(2,3))
plotBars(decs, unc=5, obj=tt)

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