hr.plot: Plot Hardness Ratio

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
hr.plot(
  hr.df,
  xlab = "Time [s]",
  ylab = "Ratio",
  plt.title = "Hardness Ratio",
  show.origin = FALSE
)

Arguments

hr.df

required data frame: Hardness Ratio data frame with structure: TIME, RATIO, ERROR

xlab

optional string: X axis label

ylab

optional string: Y axis label

plt.title

optional string: Plot title

show.origin

optional boolean: If TRUE add a horizontal line at y=0, defaults to FALSE

Value

Plot of the source and background light curve

Author(s)

Derek Blue

Examples

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

## End(Not run)

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