{"version":"1.0","type":"rich","provider_name":"Hatena Blog","blog_title":"u++\u306e\u5099\u5fd8\u9332","categories":["python"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/u/upura/20170705/20170705165941.png","height":"190","author_url":"https://blog.hatena.ne.jp/upura/","author_name":"upura","published":"2017-07-05 17:00:05","blog_url":"https://upura.hatenablog.com/","url":"https://upura.hatenablog.com/entry/2017/07/05/170005","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fupura.hatenablog.com%2Fentry%2F2017%2F07%2F05%2F170005\" title=\"matplotlib\u3067\u30e9\u30d9\u30eb\u306e\u5411\u304d\u3092\u5909\u3048\u308b - u++\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"matplotlib\u3067\u30e9\u30d9\u30eb\u306e\u5411\u304d\u3092\u5909\u3048\u308b","width":"100%","provider_url":"https://hatena.blog","description":"Python\u306b\u3088\u308b\u52fe\u914d\u964d\u4e0b\u6cd5\u306e\u5b9f\u88c5 - u++\u306e\u5099\u5fd8\u9332\u306e\u8a18\u4e8b\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56f3\u3092\u4f5c\u6210\u3057\u305f\u3002y\u8ef8\u306e\u30e9\u30d9\u30eb\u306f\u6a2a\u3092\u5411\u3044\u3066\u3044\u308b\u3002\u3053\u308c\u3067\u5168\u304f\u554f\u984c\u306a\u3044\u306e\u3060\u304c\u3001\u30e9\u30d9\u30eb\u306e\u5411\u304d\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\"rotation\"\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308c\u3070\u826f\u3044\u3002 import numpy as np import matplotlib.pyplot as plt def J(x): return x*(x-4)+5 n = 100 x = np.linspace(0, 5, n) np.random.seed(seed = 32) stack = [] # \u30d7\u30ed\u30c3\u30c8\u7528\u306e\u30ea\u30b9\u30c8 # Graph plt.xlim(-1,\u2026"}