python の matplotlib でグラフを描くのは非常に簡単です。とくに、グラフが 1 つだけの場合は import matplotlib.pyplot as plt import numpy as np x = np.linspace(-3, 3, 20) y = x ** 2 plt.plot(x, y) plt.show()

python の matplotlib でグラフを描くのは非常に簡単です。とくに、グラフが 1 つだけの場合は import matplotlib.pyplot as plt import numpy as np x = np.linspace(-3, 3, 20) y = x ** 2 plt.plot(x, y) plt.show()
matplotlib.axes.Axes.plot# Axes.plot(*args, scalex=True, scaley=True, data=None, **kwargs)[source]# Plot y versus x as lines and/or markers. Call signatures: plot([x], y, [fmt], *, data=None, **kwargs) plot([x], y, [fmt], [x2], y2, [fmt2], ..., **kwargs) The coordinates of the points or line nodes are given by x, y. The optional parameter fmt is a convenient way for defining basic formatting like
matplotlib.axes.Axes.quiver# Axes.quiver(*args, data=None, **kwargs)[source]# Plot a 2D field of arrows. Call signature: X, Y define the arrow locations, U, V define the arrow directions, and C optionally sets the color. The arguments X, Y, U, V, C are positional-only. Arrow length The default settings auto-scales the length of the arrows to a reasonable size. To change this behavior see the scale
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く