An M-file to move the base value for bar and hist plots from 0 to any value. Especially useful for log-scale bar plots.
Ben Hinkle (2019). Update Bar Plot Base (https://www.mathworks.com/matlabcentral/fileexchange/1200-update-bar-plot-base), MATLAB Central File Exchange. Retrieved .
Invalid axes property: 'BaseValue'.
Invalid axes property: 'BaseLine'.
You can do that in one line:
h=handle of plot(bar, stem...etc)
Value= I put 1 just to avoid negative log values
Thank you for posting this useful code!
This is a lifesaver!! Thanks so much.
Great, thank you so much!
Perfect, I have been looking for hours to get this done!! Keep up the good work.
Beautiful ! That you very much.
This was exactly what I needed. Thanks!
This beautifully compact bit of code solves a problem that has been driving me crazy for days now. Thank you Ben!
add 2001 to copyright