Keine Lizenz
The function plots x and y data with errorbars for both.
syntax:
>xyerrorbar(x,y,xerror,yerror,s)
variables:
x=array of xdata
y=array of ydata
xerror=array of errors for x
yerror=array of errors for y
s=string argument for plotting the datapoints, The errorbars are plotted in red and blue
limitations:
Needs a figure to plot in.
errorbars are symmetrical, that means that the function plots [x-xerror x+xerror] and [y-yerror y+yerror].
x,y,xerror,yerror must all be arrays.
Zitieren als
Nils Sjöberg (2024). xyerrorbar (https://www.mathworks.com/matlabcentral/fileexchange/5444-xyerrorbar), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Tags
Quellenangaben
Inspiriert: errbar, errorbarxy, superbar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |