getSecondaryPlotConfig: Get Secondary Plot Config

Description Usage Arguments Value

View source: R/uvhydrograph-render.R

Description

Given a report object, some information about the plot to build, will return a named list of gsplot elements to call

Usage

1
2
getSecondaryPlotConfig(timeseries, name, legend_label, ylim,
  doLog = FALSE)

Arguments

timeseries

the timeseries to be plotted

name

name of style to be applied to given x/y points (corrected, estimated, or uncorrected)

legend_label

label to be applied to points in legend

ylim

The y-axis limits of the item to get the configuration for

doLog

Whether or not the item should be placed on a logarithmic axis (DEFAULT: FALSE)

Value

named list of gsplot calls. The name is the plotting call to make, and it points to a list of config params for that call


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.