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
Citation pour cette source
kefei (2024). plot errorbar with tilt direction (https://www.mathworks.com/matlabcentral/fileexchange/62341-plot-errorbar-with-tilt-direction), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |