<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>auewe</author_name>
  <author_url>https://blog.hatena.ne.jp/auewe/</author_url>
  <blog_title>余白の書きなぐり</blog_title>
  <blog_url>https://auewe.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Gnuplot</anon>
  </categories>
  <description>ディスプレイにグラフを表示させる pythonからgnuplotを使う上で、これが最も簡単な方法。 from subprocess import call call( [&quot;gnuplot&quot;, &quot;-e&quot;, &quot;plot sin(x); pause -1&quot;]) qを押せばグラフは消える。 グラフをファイルに保存 gnuplotの設定は長くなるので、 gnuplotCommand という文字列にまとめた。 from subprocess import call gnuplotCommand =''' set terminal png; set output &quot;sin.png&quot;; plot sin(x)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fauewe.hatenablog.com%2Fentry%2F2013%2F10%2F16%2F201513&quot; title=&quot;Python3の計算結果をGnuplotでグラフ化(subprocess Popenを使う) - 余白の書きなぐり&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-16 20:15:13</published>
  <title>Python3の計算結果をGnuplotでグラフ化(subprocess Popenを使う)</title>
  <type>rich</type>
  <url>https://auewe.hatenablog.com/entry/2013/10/16/201513</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
