You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ggplot makes ranges of y axe as c(0.8490745, 3.1024250).
max value from abc is 1000 = 10^3.
y range upper bound = 10^3 + small margin. So it is log scale.
BUT when data is plotted ggplot uses absolute values of abc data not log values.
So we have wrong picture
Oh hmmm, it's because lower, middle and upper aren't transformed by the scale (while ymin and ymax are). This isn't usually a problem because the stat operates on the transformed values, so you'll only see this with stat identity and a transformed y axis.
This bug cost me a full day of working.
Some sample of working code
This all ok. Picture is ok.
ggplot makes ranges of y axe as c(0.8490745, 3.1024250).
max value from abc is 1000 = 10^3.
y range upper bound = 10^3 + small margin. So it is log scale.
BUT when data is plotted ggplot uses absolute values of abc data not log values.
So we have wrong picture
Problem like this was discussed here
#274
http://stackoverflow.com/questions/9502003/ggplot-scale-y-log10-issue
The text was updated successfully, but these errors were encountered: