How can I modify errorbar's get up?
Ältere Kommentare anzeigen
I want to plot error like '|' without horizontal bars '..... Is there any command?
Antworten (2)
Daniel Shub
am 1 Okt. 2012
0 Stimmen
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.
Hassan
am 27 Aug. 2013
0 Stimmen
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')
1 Kommentar
Kaushik Sen
am 27 Aug. 2013
Hi Hassan, You can try 'ploterr' function.
Kategorien
Mehr zu Errorbars finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!