Session 2.2 Plotting lists of data

> lst:=[[0,0.1],[1.4,4.2],[3.5,6.6],[4.5,8.2],[6.1,7.1],[8.0,4.1]]; This is a list of lists giving the data in the table.

[Maple Math]

> plot(lst,title=`Data points in a list`);

> read `/home/ceng303/maple/yxplot`; yxplot allows you to plot data like that in the table without having to remember how lists are made. Note the back quotes around the file names

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

> x:=[0.0,1.4,3.5,4.5,6.1,8.0];

[Maple Math]

> y:=[0.1,4.2,6.6,8.2,7.1,4.1];

[Maple Math]

> yxplot(`time`,`distance`,`Using yxplot`,x,y);

>