lc.plot: Plot Light Curve

Description Usage Arguments Value Author(s) Examples

View source: R/plotting.r

Description

Creates a plot of the source and background of a light curve

Usage

1
2
3
4
5
6
7
8
lc.plot(
  lc,
  xlab = "Time [s]",
  ylab = "Rate [count/s]",
  plt.title = "Lightcurve",
  background = FALSE,
  color = "black"
)

Arguments

lc

required data frame: Light curve data frame with structure: TIME, TIMED, RATE, ERROR, BACKV, BACKE

xlab

optional string: X axis label

ylab

optional string: Y axis label

plt.title

optional string: Plot title

background

optional boolean: If TRUE plot the background of the light curve, defaults to FALSE

color

optional string: plotting color

Value

Plot of the source and background light curve

Author(s)

Derek Blue

Examples

1
2
3
4
## Not run: 
plot(lc.plot(lightcurve, background = TRUE))

## End(Not run)

Starkiller4011/AstroR documentation built on Aug. 24, 2020, 12:41 p.m.