use of '~' in Matlab-like plot function

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

use of '~' in Matlab-like plot function

Michael Walsh-2

How do you use the '~' (errorbars) plot style specifier in the Matlab-like
'plot' function?  For example, I have three data vectors:

  x, y, y_stddev

Trying several combinations of the above in the 'plot' argument list, I
always get errors like the following:

  error: invalid number of data columns = 2 specified for plot style
  `errorbars'

etc...

How can I plot error bars without resorting to gplot?

Thanks,

Mike

-------------------------------------------------------------------------
Michael J. Walsh                                                Code 2211
[hidden email]              Naval Undersea Warfare Center