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
引用格式
kefei (2024). plot errorbar with tilt direction (https://www.mathworks.com/matlabcentral/fileexchange/62341-plot-errorbar-with-tilt-direction), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |