plotBars {skyscapeR} | R Documentation |
Bar plot of orientations (declination)
Description
Bar plot of orientations (declination)
Usage
plotBars(
val,
unc,
names,
unit = "Declination",
col = "blue",
shade = TRUE,
mark = TRUE,
sort = FALSE,
xrange,
yrange,
obj,
show.obj.label = TRUE
)
Arguments
val |
Array of declination or azimuth values. |
unc |
Single value or array of measurement uncertainty |
names |
(Optional) Array of names of measurements in val |
unit |
(Optional). Either 'Declination' or 'Azimuth'. Defaults to 'Declination'. |
col |
(Optional) Color to plot measurements 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. |
obj |
(Optional) A skyscapeR.object object created with |
show.obj.label |
(Optional) Boolean to control whether to label the celestial objects in the polar plot. Defaults to TRUE. |
See Also
Examples
# 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('solar extremes','lunar extremes'), epoch=-2000, lty=c(2,3))
plotBars(decs, unc=5, obj=tt)