plotCmdAndHRSeparateSets: Plots CMD and HR diagrams in a combo using two, precomputed...

plotCmdAndHRSeparateSetsR Documentation

Plots CMD and HR diagrams in a combo using two, precomputed HR and CMD sets. I.e. From sql queries.

Description

Plots CMD and HR diagrams in a combo using two, precomputed HR and CMD sets. I.e. From sql queries.

Usage

plotCmdAndHRSeparateSets(
  inDataCmd,
  inData,
  valueName,
  catalogName = NULL,
  palette = "plasma",
  data.bkg.hr = data.bkg.hr,
  data.bkg.cmd = data.bkg.cmd
)

Arguments

inDataCmd

dataframe with CMD data

inData

dataframe with 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

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: 
plotCmdAndHRSeparateSets(sosSetCmd,sosSetHr, valueName = cu7Name, catalogName = NULL)

## End(Not run)


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