plotQTimeDaily: Plot of the discharge time series

plotQTimeDailyR Documentation

Plot of the discharge time series


Part of flowHistory component. Allows discharge record to only show those discharges above a given threshold

Although there are a lot of optional arguments to this function, most are set to a logical default.

Data come from named list, which contains a Daily dataframe with the daily flow data, and an INFO dataframe with metadata.


plotQTimeDaily(eList, yearStart = NA, yearEnd = NA, qLower = NA,
  qUnit = 1, logScale = FALSE, tinyPlot = FALSE, printTitle = TRUE,
  usgsStyle = FALSE, lwd = 3, col = "red", cex.main = 1.2,
  cex.lab = 1.2, customPar = FALSE, prettyDate = TRUE, ...)



named list with at least the Daily and INFO dataframes


numeric indicating the starting year for the graph


numeric indicating the ending year for the graph (should be a time in decimal years that is after the last observations to be plotted)


numeric specifying the lower bound on discharges that are to be plotted, must be in the units specified by qUnit, default is NA (lower bound is zero)


object of qUnit class. printqUnitCheatSheet, or numeric represented the short code, or character representing the descriptive name. Default is qUnit=1 (cubic feet per second)


logical whether or not to use a log scale in the y axis. Default is FALSE.


logical variable, if TRUE plot is designed to be short and wide, default is FALSE.


logical variable if TRUE title is printed, if FALSE title is not printed (this is best for a multi-plot figure)


logical option to use USGS style guidelines. Setting this option to TRUE does NOT guarantee USGS compliance. It will only change automatically generated labels.


line width, a positive number, defaulting to 3


specification for the default plotting color


magnification to be used for main titles relative to the current setting of cex


magnification to be used for x and y labels relative to the current setting of cex


logical defaults to FALSE. If TRUE, par() should be set by user before calling this function (for example, adjusting margins with par(mar=c(5,5,5,5))). If customPar FALSE, EGRET chooses the best margins depending on tinyPlot.


logical use 'pretty' limits for date axis if TRUE, or force the yearStart/yearEnd as limits if FALSE


arbitrary graphical parameters that will be passed to genericEGRETDotPlot function (see ?par for options)

See Also

selectDays, genericEGRETDotPlot


eList <- Choptank_eList
# Water year:
plotQTimeDaily(eList, yearStart=1990, yearEnd=2000,qLower=1500)
plotQTimeDaily(eList, prettyDate=FALSE)

EGRET documentation built on April 18, 2023, 5:09 p.m.