comparison scripts/plot/bar.m @ 131:5b46fbec1488

[project @ 1993-09-28 14:23:43 by jwe]
author jwe
date Tue, 28 Sep 1993 14:23:47 +0000
parents b4df021f796c
children 16a24e76d6e0
comparison
equal deleted inserted replaced
130:6642c455bf82 131:5b46fbec1488
1 function [xb, yb] = bar (x, y) 1 function [xb, yb] = bar (x, y)
2 2
3 # usage: [xb, yb] = bar (x, y) 3 # usage: [xb, yb] = bar (x, y)
4 # 4 #
5 # Given two vectors of x-y data, bar produces a bar graph. 5 # Given two vectors of x-y data, bar produces a `bar' graph.
6 # 6 #
7 # If only one argument is given, it is taken as a vector of y-values 7 # If only one argument is given, it is taken as a vector of y-values
8 # and the x coordinates are taken to be the indices of the elements. 8 # and the x coordinates are taken to be the indices of the elements.
9 # 9 #
10 # If two output arguments are specified, the data are generated but 10 # If two output arguments are specified, the data are generated but