Mercurial > hg > octave-terminal
changeset 131:5b46fbec1488
[project @ 1993-09-28 14:23:43 by jwe]
author | jwe |
---|---|
date | Tue, 28 Sep 1993 14:23:47 +0000 |
parents | 6642c455bf82 |
children | 0869dc33276c |
files | scripts/plot/bar.m scripts/plot/stairs.m |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/bar.m +++ b/scripts/plot/bar.m @@ -2,7 +2,7 @@ # usage: [xb, yb] = bar (x, y) # -# Given two vectors of x-y data, bar produces a bar graph. +# Given two vectors of x-y data, bar produces a `bar' graph. # # If only one argument is given, it is taken as a vector of y-values # and the x coordinates are taken to be the indices of the elements.
--- a/scripts/plot/stairs.m +++ b/scripts/plot/stairs.m @@ -1,8 +1,8 @@ function [xs, ys] = stairs (x, y) -# usage: [xs, ys] = bar (x, y) +# usage: [xs, ys] = stairs (x, y) # -# Given two vectors of x-y data, bar produces a `stairstep' plot. +# Given two vectors of x-y data, stairs produces a `stairstep' plot. # # If only one argument is given, it is taken as a vector of y-values # and the x coordiates are taken to be the indices of the elements. @@ -10,7 +10,7 @@ # If two output arguments are specified, the data are generated but # not plotted. For example, # -# bar (x, y); +# stairs (x, y); # # and #