Based on the existing M-file errorbar.m, a modification was done in order to plot error bars in the horizontal direction. Furthermore, the file considers a single value in the vector for X or Y. This M-file can be used for plotting the spread in the D_50-value of the particle size distribution of powders.
Based on the existing M-file errorbar.m, a modification was made for plotting error bars in the horizontal direction. This M-file can be used for plotting the spread in the D_50-value of the particle size distribution of powders.
Works well, but be aware that the function makes two plots: one for the error bars and another for the line that connects them. This means that errorbar_x will create two plot handles each time you call it. This will cause problems if you don't specify the proper handles in your legend entries. I also edited the function so that it outputs one handle instead of two. I did this by replacing the last few lines of the code with:
h1 = plot(xb,yb,esymbol);
if ~hold_state, hold off; end
if nargout>0, hh = h1; end
It works great, but I have one question: How can I get bigger end markers?
29 May 2007
17 May 2007
Thanks, seems to work great!
06 Nov 2006
Perfect for what it says it does, and fills the obvious deficiency with the matlab supplied 'errorbar'. A better name than herrorbar, as if you are having problems with errorbar you might be having a problem with the 'x' axis, not 'h' (So that is what you would search support for).
23 Oct 2006
Where is the statement that you just have re-invented herrorbar.m?