How can I modify errorbar's get up?
Afficher commentaires plus anciens
I want to plot error like '|' without horizontal bars '..... Is there any command?
Réponses (2)
Daniel Shub
le 1 Oct 2012
0 votes
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
le 27 Août 2013
0 votes
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 commentaire
Kaushik Sen
le 27 Août 2013
Hi Hassan, You can try 'ploterr' function.
Catégories
En savoir plus sur Errorbars dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!