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
Cite As
kefei (2024). plot errorbar with tilt direction (https://www.mathworks.com/matlabcentral/fileexchange/62341-plot-errorbar-with-tilt-direction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |