How do I plot only the lower error bars?
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to plot only the lower error bars. Here is the way I am currently plotting them. Any suggestions?
residual = N - y_new;
errorbar(x_new,y_new,residual)
1 comentario
Russel Burgess
el 14 de Mzo. de 2021
Not the prettiest method as it leaves the bars in but you can set the lower and upper side individually, i.e.:
errorbar(x_new,y_new,residual,zeros(size(residual)))
Respuestas (2)
Star Strider
el 14 de Mzo. de 2021
Try this:
errorbar(x_new,y_new,residual,[])
It specifies that the lower error bar is to be plotted and the upper error baar is not.
0 comentarios
dpb
el 14 de Mzo. de 2021
residual = N - y_new;
errorbar(x_new,y_new,residual,[])
Input arguments for four inputs are:
errorbar(x,y,neg,pos)
If only three arguments, then the third is the error magnitude in both directions.
0 comentarios
Ver también
Categorías
Más información sobre Errorbars en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!