0 0 1 1 2 0In Maple we execute the command
d := readdata( foo, 2 );where the "2" refers to the number of columns. The variable "d" now has the value
[[0,0], [1,1], [2,0]]This structure, which we view as a list of (x,y) coordinates, defines a broken-line path. To plot it, we do this:
plot(d);
Exercise: Picture in your mind's eye the figure which d represents.
d := readdata( foo, 2 ):
plot( { d1, d2 } );
Back to Department of Mathematics, University of Utah
Last edit by
jac
, March 27, 1995.
Copyright © 1995 Department of Mathematics, University
of Utah