The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Errorbars in a dataset
Replies: 2   Last Post: Jan 8, 2013 6:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Daniel Robbins

Posts: 27
Registered: 6/12/12
Errorbars in a dataset
Posted: Jan 4, 2013 2:59 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Does anyone know how to plot errorbars on a line graph from data stored in a dataset?

If I store the data in an array I can produce the graph with the following code:

errorbarLOWERzeros = [0 0 0 0];
errorbarUPPERzeros = [0 0 0 0];
xAXIS = [1 2 3 4];
errorbar(xAXIS,c7MEAN,errorbarLOWERzeros, c7SEM,':bo')

However if I store the data in a dataset in the following approach:

ds1 = dataset('xlsfile', 'Ltrap.xls');

I can plot the data using:


but I can't seem to figure out how to get errorbars on the chart.

Any help will be greatly appreciated.
Many thanks

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.