How can I modify errorbar's get up?
Mostrar comentarios más antiguos
I want to plot error like '|' without horizontal bars '..... Is there any command?
Respuestas (2)
Daniel Shub
el 1 de Oct. de 2012
0 votos
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
el 27 de Ag. de 2013
0 votos
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 comentario
Kaushik Sen
el 27 de Ag. de 2013
Hi Hassan, You can try 'ploterr' function.
Categorías
Más información sobre Errorbars en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!