I have a following plot with logarithmic y-scale that I plotted using ggplot2 in R.
convergencePlot = ggplot(allCosts, aes(x=V2))
finalPlot = convergencePlot + stat_bin() + scal_y_log10()
When I plot this I get the following warning:
Stacking not well defined when ymin != 0
- I do not understand this warning. How can I remove this warning?
- I see that the plot starts form 1 for all values of x except some where it starts from 0 and end at 1 (red circle). Is this an error?
- Some x-values that I see on the extreme left (I guess 77 and 76) are not present in my original data. How can I remove those values? (green circle)