<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Michael_e29</author_name>
  <author_url>https://blog.hatena.ne.jp/Michael_e29/</author_url>
  <blog_title>何でも屋さんの備忘録</blog_title>
  <blog_url>https://michael-e29.hatenadiary.org/</blog_url>
  <categories>
    <anon>pyROOT</anon>
  </categories>
  <description>TGraphは点の間隔が一定あっても、そうでなくてもプロットできる。 まず、座標の配列を定義しておいて、それからグラフを生成する。 座標はdouble型、float型のいずれかであればよい。 from ROOT import TCanvas,TGraph from math import sin from array import arrayn = 10 x, y = array( 'd' ), array( 'd' ) #x,y = [],[] for i in range(0,n): x.append(float(i)) y.append(float(sin(i))) print x, y…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmichael-e29.hatenadiary.org%2Fentry%2F20110131%2F1296450896&quot; title=&quot;グラフのプロット　TGraph（） - 何でも屋さんの備忘録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/M/Michael_e29/20110131/20110131141926.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-01-31 14:14:56</published>
  <title>グラフのプロット　TGraph（）</title>
  <type>rich</type>
  <url>https://michael-e29.hatenadiary.org/entry/20110131/1296450896</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
