plotDVHydroLegend: Plot DV Hydro Legend

Description Usage Arguments Value

View source: R/dvhydrograph-render.R

Description

Given the plot object and additional necessary parameters, calculates the legend offset and then adds the legend to the plot.

Usage

1
2
plotDVHydroLegend(plot_object, startDate, endDate, timezone, initialOffset,
  modOffset = 1)

Arguments

plot_object

The gsplot object to add the legend to

startDate

The start date of the report

endDate

The end date of the report

timezone

The timezone of the report

initialOffset

The initial amount to offset the legend by

modOffset

[Default: 1] An optional amount to multiply the final calculated offset by

Value

gsplot object with legend added


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