Maxima を使って,関数のグラフを描くことができます。また,数値データもグラフにすることができます。
Maxima の2次元グラフ作成は draw2d()
でもできますが,ここでは,plot2d()
について説明します。
plot2d()
でプロットできるオブジェクトは以下のとおりです。
- 陽関数 $y = f(x)$:
plot2d(f(x), [x, xmin, xmax])
- 陰関数 $f(x, y) = 0$:
plot2d(f(x, y) = 0, [x, xmin, xmax], [y, ymin, ymax])
- 媒介変数表示 $x(t), y(t)$:
plot2d([parametric, x(t), y(t), [t, t0, t1]])
- 点,$x$ 座標 $y$ 座標の数値データ:
plot2d([discrete, [[x1, y1], ..., [xn, ..., yn]]])
またはplot2d([discrete, [x1, ..., xn], [y1, ..., yn]])