Overview: Matplotlib mistakes often come from poor layout, unclear labels, and wrong scale choices, not from the data itself.Clear plotting improves when scatte ...
Pythonで3 元系状態図(ternary phase diagram)を作成するライブラリpython-ternaryを紹介します。 【コラム:データ抽出ツール(WebPlotDigitizer)】 WebPlotDigitizerは、グラフやプロットからデータを抽出するためのツールであり、3元系状態図にも対応しています。
今回は、線グラフ(サインカーブ)を描いてみましょう。 このサンプルコードでは、matplotlibとnumpyを使いますので、インストールしておいてください。