hs.plot: Plot Hard and Soft Light Curves

Description Usage Arguments Value Author(s) Examples

View source: R/plotting.r

Description

Creates a plot of the source and background of the hard and soft light curves

Usage

1
2
3
4
5
6
7
hs.plot(
  slc,
  hlc,
  xlab = "Time [s]",
  ylab = "Rate [count/s]",
  plt.title = "Hard and Soft Lightcurves"
)

Arguments

slc

required data frame: 0.3 - 1 keV light curve data frame with structure: TIME, TIMED, RATE, ERROR, BACKV, BACKE

hlc

required data frame: 2 - 10 keV 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

Value

Plot of the source and background light curve

Author(s)

Derek Blue

Examples

1
2
3
4
5
## Not run: 
plt <- hs.plot(lightcurve)
plot(plt)

## End(Not run)

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