最近,研究活動(おもに実験)で得たデータを計算したり,可視化するのに使っているPython。可視化(グラフ作成)に使うMatplotlib(Seaborn)の使い方をすぐ忘れてしまうので,自分のために書き留めておこうと思う。 x = np.linspace(1,100,100) y = x**2 一番簡単なプロット ...
Matplotlibは可視化用ライブラリです。グラフ化することで傾向が理解出来たり伝えたいことを一目で理解させることができます。 matplotlibでは様々な図がかけますが本記事では折れ線図をメインとして使用して「サクッときれいな図を複数作る」ことに重きを ...
今回は、前回導入したNumpy、 そしてグラフを描画するmatplotlibを使って、 いくつかの代表的な分布を紹介していきます。 第5回 「 「よく使う分布」 はどうしてよく使う?」 の項でも代表的な分布が紹介されていました。そこでは、 “⁠この状況 (モデル ...
We had a quick introduction to plotting with matplotlib in previous lessons. This lesson covers plotting with Python and matplotlib using a more structured approach. In this section, we'll look into ...
Now that we've seen the basics, let's break it all down with a more formal introduction of Matplotlib's Object Oriented API. This means we will instantiate figure objects and then call methods or ...