"dpb" <
no...@non.net> wrote in message news:jhjj39$5re$1...@speranza.aioe.org...
The BAR, ERRORBAR, and PLOTTY functions have been in MATLAB for a very long
time, at least as far back as release R11 (not to be confused with release
R2011a or R2011b.)
>> version
ans =
5.3.0.10183 (R11)
>> help bar
BAR Bar graph.
BAR(X,Y) draws the columns of the M-by-N matrix Y as M groups of N
vertical bars. The vector X must be monotonically increasing or
decreasing.
*snip*
>> help errorbar
ERRORBAR Error bar plot.
ERRORBAR(X,Y,L,U) plots the graph of vector X vs. vector Y with
error bars specified by the vectors L and U. L and U contain the
lower and upper error ranges for each point in Y. Each error bar
is L(i) + U(i) long and is drawn a distance of U(i) above and L(i)
below the points in (X,Y). The vectors X,Y,L and U must all be
the same length. If X,Y,L and U are matrices then each column
produces a separate line.
*snip*
>> help plotyy
PLOTYY Graphs with y tick labels on the left and right.
PLOTYY(X1,Y1,X2,Y2) plots Y1 versus X1 with y-axis labeling
on the left and plots Y2 versus X2 with y-axis labeling on
the right.
*snip*
Function handles were introduced in release R12 and anonymous functions in
release R14, so what I wrote wouldn't work (without some tweaking) in
release R11. But it should work as early as R14.
http://www.mathworks.com/help/techdoc/rn/f8-1009921.html#f8-1011687