No BSD License  

4.4
4.4 | 5 ratings Rate this file 75 Downloads (last 30 days) File Size: 1.33 KB File ID: #5444

xyerrorbar

by

 

09 Jul 2004 (Updated )

Errorbars for both x and y data.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
26 Nov 2013 Dominika

Useful tool, thanks.

15 Aug 2013 Mark S.  
07 Feb 2013 Qi An

Qi An (view profile)

Nice work except for a minor bug.

11 Oct 2011 William Murphy

Did exactly what I needed to do for today. Thanks for the function.

15 Jun 2011 Mohsin Siddique

Great tool. very helpful. thanks for upload

Contact us