この図形、Pythonで描きました。振り子で描くハーモノグラフという図形をシミュレーションして描画したものです。 ハーモのグラフを描く コードは20行ほどです。使ったのは Matplotlib(マットプロットリブ)という、Pythonで最もよく使われているグラフ描画 ...
まとめ|matplotlibは「5つの関数」から始めよう この記事で紹介した5種類のグラフとmatplotlibの関数をまとめると、こんな感じです。 matplotlibの世界はもっと広くて、ヒートマップや3Dプロット、アニメーションなんかも作れます。
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 ...
We use matplotlib for plotting in python. To have some more control over the coordinate axis we'll use .subplots. The first few lines of code just change the plot from a bounding box to a set of ...