Question: plot with error bars

Download 4125_Testdata.txt
View file details
I am trying to create a point plot from a data file, with the first two columns, x,y, and the third column as the error in y.

I can make the pointplot with the first two columns, but trying to add in the third colum for the Errorplot in statistics program is not working.  Is there a way I can use this third column of my data file to be the yerrors= part of Errorplot command?

> restart;
> A := readdata("C:\\Documents and Settings\\Desktop\\Testdata.txt", 3);
[[1.14, 44.67, 0.3], [1.14, 44.4, 0.32], [1.23, 45.13, 0.24],



  [1.23, 44.93, 0.21], [1.3, 45.02, 0.21], [1.305, 44.47, 0.31],



  [1.34, 44.88, 0.32], [1.37, 45.19, 0.26], [1.39, 44.86, 0.2],



  [1.755, 45.31, 0.36]]
> B := readdata("C:\\Documents and Settings\\Christine\\Desktop\\Testdata.txt", 2);
[[1.14, 44.67], [1.14, 44.4], [1.23, 45.13], [1.23, 44.93], [1.3, 45.02],



  [1.305, 44.47], [1.34, 44.88], [1.37, 45.19], [1.39, 44.86], [1.755, 45.31]]
> (plots[pointplot])(B);
 

Please Wait...