How can I modify errorbar's get up?
1 view (last 30 days)
Show older comments
I want to plot error like '|' without horizontal bars '..... Is there any command?
0 Comments
Answers (2)
Daniel Shub
on 1 Oct 2012
It used to be so easy ... In R2011a there are 3 methods the errorbar function can use to create errorbars. The "default" method, errorbarHGUsingMATLABClasses, and Lerrorbarv6. Controlling the width of the errorbar in Lerrorbarv6 is easy. There is a parameter called tee which is a proportion of the range of the x-axis. If you set it to 0, you get what you want. I have no idea how the other two methods work. If you copy errorbar.m and then edit it so it always uses Lerrorbarv6 and set tee = 0;, then you will have a function that does what you want.
0 Comments
Hassan
on 27 Aug 2013
how can i plot errorbar horizontal in matlab R2010a this is my code for plot part : Guys i cant make the errorbar horizontal !!!
how can i make it ??? this is my code for plot part :
figure(1) errorbar(C(:,2),C(:,3),C(:,5),'.b') title('error bar for dx') xlabel('x') ylabel('y')
figure(2) errorbar(C(:,2),C(:,3),C(:,6),'.b') title('error bar for dy') xlabel('x') ylabel('y')
figure(3) errorbar(C(:,2),C(:,3),C(:,7),'.b') title('error bar for dz') xlabel('x') ylabel('y')
See Also
Categories
Find more on Errorbars in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!