DOI-USGS / EGRET

An R-package for the analysis of long-term changes in water quality and streamflow, including the water-quality method Weighted Regressions on Time, Discharge, and Season (WRTDS). https://doi-usgs.github.io/EGRET/

Home Page:http://doi-usgs.github.io/EGRET/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A little bug in plotQTimeDaily

rmhirsch49 opened this issue · comments

Laura: If I want an arithmetic scale on the plot, and I don't specify a qLower value (so it goes to the default of NA) I end up with a y axis that doesn't go all the way down to zero. It goes to some lower bound that is just below the lowest value. What I'd like it to do is go to zero. I think that what needs to happen is this. For purposes of setting up the text for the title qLower = NA gives us what we want, but for calculations of the axis lower limit we want qLower to be set to 0 and not to have a value of NA.

I will send you an e-mail of an eList where this problem comes up. I called it with
plotQTimeDaily(eList, yearStart = 1975, yearEnd = 1979, qUnit = 2)

This issue is a low priority. Just something to include next time you make revisions to EGRET.

Thanks. Bob