USGS-R / smwrGraphs

Moved to: https://code.usgs.gov/water/analysis-tools/smwrGraphs
https://code.usgs.gov/water/analysis-tools/smwrGraphs
Other
18 stars 16 forks source link

Possible bug in dotPlot #30

Open lsprague-USGS opened 8 years ago

lsprague-USGS commented 8 years ago

X values are not lining up with Y values as expected. The example in the dotPlot documentation illustrates the issue: set.seed(1) X <- runif(12) Y <- LETTERS[1:12] setGD() dotPlot(X, Y)

Also, argument ytitle does not appear to be working as expected.

dlorenz-usgs commented 8 years ago

Lori, This worked for me as expected:

dotPlot(X, Y, ytitle="Letters", jitter.y=FALSE)

Dave

On Tue, Apr 19, 2016 at 4:34 PM, lsprague-USGS notifications@github.com wrote:

X values are not lining up with Y values as expected. The example in the dotPlot documentation illustrates the issue: set.seed(1) X <- runif(12) Y <- LETTERS[1:12] setGD() dotPlot(X, Y)

Also, argument ytitle does not appear to be working as expected.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/USGS-R/smwrGraphs/issues/30

lsprague-USGS commented 8 years ago

Thanks Dave. I think this is new behavior in the latest version of smwrGraphs. My suggestion would be to make jitter=FALSE the default. I think that would be consistent with the earlier version and would be expected behavior for most users.