Examples

Real Examples
Basic Examples

bar_graph.xml

Download mugl: bar_graph.xml Open in Tester
<mugl>
  <background color="0xcccccc"/>
    <window margin="0" padding="5" border="5" bordercolor="0x000000"/>
    <plotarea margintop="10" marginleft="38" marginbottom="35" marginright="35"/>
    <horizontalaxis id="x" min="1900" max="2000" length="1" base="-1,-1" anchor="-1" />
    <verticalaxis   id="y"  min="-1" max="1" length="1"/>
    <plot>
      <horizontalaxis ref="x">
        <variable ref="x"/>
      </horizontalaxis>
      <verticalaxis ref="y">
        <variable ref="y"/>
      </verticalaxis>
      <renderer type="bar">
        <option name="linecolor" value="0xff00ff"/>
        <option name="fillcolor" value="0x00ff00"/>
        <option name="barwidth" value="1"/>
        <option name="baroffset" value="0"/>
        <option name="hidelines" value="2"/>
        <option name="barbase" value="-.7"/>
      </renderer>
    </plot>
    <data>
      <variables>
        <variable column="0" id="x"/>
        <variable column="1" id="y" missingvalue="-9000" missingop="le"/>
      </variables>
      <values>
	1900,-0.710738
	1901,-0.709837
	1902,-0.738885
	1903,-0.822017
	1904,-0.828376
	1905,-0.748973
	1906,-0.670167
	1907,-0.717963
	1908,-0.757014
	1909,-0.742775
	1910,-9000
	1911,-9000
	1912,-9000
	1913,-9000
	1914,-0.709540
	1915,-0.666296
	1916,-0.615051
	1917,-0.681798
	1918,-0.653037
	1919,-0.594194
	1920,-0.657729
	1921,-0.661296
	1922,-0.633630
	1923,-0.596698
	1924,-0.601313
	1925,-0.609820
	1926,-0.635884
	1927,-0.623605
	1928,-0.559513
	1929,-0.598222
	1930,-0.652624
	1931,-0.632389
	1932,-0.624553
	1933,-0.609135
	1934,-0.602625
	1935,-0.566810
	1936,-0.552560
	1937,-0.584782
	1938,-0.576507
	1939,-0.518921
	1940,-9000
	1941,-9000
	1942,-0.520879
	1943,-0.541142
	1944,-0.535743
	1945,-0.471457
	1946,-0.511557
	1947,-0.533288
	1948,-0.521996
	1949,-0.569460
	1950,-0.486723
	1951,-0.458477
	1952,-0.536644
	1953,-0.453351
	1954,-0.444120
	1955,-0.480438
	1956,-0.453878
	1957,-0.421881
	1958,-0.463311
	1959,-0.395277
	1960,-0.440320
	1961,-0.461807
	1962,-0.461378
	1963,-0.453368
	1964,-0.495349
	1965,-0.476183
	1966,-0.453868
	1967,-0.400522
	1968,-0.375041
	1969,-0.400482
	1970,-9000
	1971,-9000
	1972,-9000
	1973,-9000
	1974,-9000
	1975,-9000
	1976,-9000
	1977,-9000
	1978,-9000
	1979,-9000
	1980,-9000
	1981,-0.104629
	1982,-0.163454
	1983,-0.265794
	1984,-0.199850
	1985,-0.118408
	1986,-0.088032
	1987,-0.027990
	1988,-0.048658
	1989,-0.012725
	1990,0.024057
	1991,0.015163
	1992,-0.206681
	1993,-0.108136
	1994,-0.009449
	1995,-0.004492
	1996,0.054049
	1997,0.075091
	1998,0.120801
	1999,0.137926
	2000,0.166130
      </values>
    </data>
</mugl>