plotCmdAndHR: Plots CMD and HR diagrams in a combo

plotCmdAndHRR Documentation

Plots CMD and HR diagrams in a combo

Description

Plots CMD and HR diagrams in a combo

Usage

plotCmdAndHR(
  inData,
  valueName,
  catalogName = NULL,
  palette = "plasma",
  varpi_over_varpierror_cut = 5,
  adjuster = 5,
  data.bkg.hr = data.bkg.hr,
  data.bkg.cmd = data.bkg.cmd
)

Arguments

inData

dataframe with CMD/HR data

valueName

name of the plots

catalogName

unused for now. We could show literature ones here.

palette

viridis palette name for density-colour of the points

varpi_over_varpierror_cut

cut for HR diagram

adjuster

factor to adjust smoothing for density kernel

data.bkg.hr

data for Hr diagram

data.bkg.cmd

data for cmd diagram

Value

two-plot ggplot with CMD and HR

Examples

## Not run: 
plotCmdAndHR(sosSet, valueName = cu7Name, catalogName = NULL)

## End(Not run)


yazun/dpcgR documentation built on Feb. 2, 2024, 7:12 p.m.