``plotexmpl.mm''
/* sin(x) を表示して,データを保存する サンプルプログラム "plotexmpl.mm" */ Func void main() { Matrix X,Y; X = [-1:0.01:1]; Y = sin(Array(2*PI*X)); mgplot(1,X,Y); print X >> "X.mat"; print Y >> "Y.mat"; } |
MaTX (66) load "plotexmpl.mm" MaTX (67) main |