plot errorbar with tilt direction
plot errorbar with tilt direction .
Plot errorbar with customized direction. When you want to illustrate the error which is not on y axis, you can use this code. Even though you still can use it when the error is on y axis just by setting tiltAngle to 0.
% function [h]=errorbar_diag(x,y,se,tiltAngle,linespec)
% errorbar_diag(x,y,se)
% errorbar_diag(x,y,se,tiltAngle)
% errorbar_diag(x,y,se,tiltAngle,linespec)
% h=errorbar_diag(...)
% INPUT
% x,y: vectors of x and y data
% se: vectors of error on diagonal
% tiltAngle: tile angle of errorbar(unit is degree),vertical errorbar is 0. default:45(on diagonal)
% linespec: appearance of line
Citar como
kefei (2024). plot errorbar with tilt direction (https://www.mathworks.com/matlabcentral/fileexchange/62341-plot-errorbar-with-tilt-direction), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |