Add note that the lapack package needs to loaded to get the functions.
[maxima.git] / doc / info / figures / colnew-ex5.mac
blobf01d907e25150cd74bb59535d5c17995f46b0bed
1 /* colnew-ex2.mac
3   Generate figure for colnew example 5
5 */
7 load("prob5.mac")$
8 plot2d([
9   [discrete,X,Z[1]], [discrete,X,Z[2]], [discrete,X,Z[3]],
10   [discrete,X,Z[4]], [discrete,X,Z[5]]],
11   [legend,"e=1e-2","e=1e-3","e=1e-4","e=1e-5","e=1e-6"],
12   [xlabel,"x"],[ylabel,"u(x)"],
13   [pdf_file,"./figures/colnew-ex5.pdf"]);
14   
15 plot2d([
16   [discrete,X,Z[1]], [discrete,X,Z[2]], [discrete,X,Z[3]],
17   [discrete,X,Z[4]], [discrete,X,Z[5]]],
18   [legend,"e=1e-2","e=1e-3","e=1e-4","e=1e-5","e=1e-6"],
19   [xlabel,"x"],[ylabel,"u(x)"],
20   [png_file,"./figures/colnew-ex5.png"]);