Pythonのグラフ作成における絶対王者、Matplotlib(マットプロットリブ) の世界へようこそ。 📅 48日目:Matplotlibでグラフを描こう matplotlib.pyplot を使うと、折れ線グラフ、棒グラフ、散布図など、あらゆるグラフをコードで描画できます。 1.
Axes.plot() はプロットした line2d のリストを返す。線が一本で中身だけ受け取りたいときは、変数にカンマ(,)をつければオーケー。 Axes.get_lines() で、Axes にそれまでにプロットされた line2d のリストが得られる。 見た目を一気に整えたい時にいいかも。
It is possible to set a logarithmic scale for one or both axes. This functionality is in fact only one application of a more general transformation system in Matplotlib. Each of the axes' scales are ...