Examples

Real Examples
Basic Examples

test-graph5.xml

Download mugl: test-graph5.xml Open in Tester
<mugl>
  <background color="0xeeeeee"/>
    <window margin="0" padding="5" border="2" bordercolor="0x000000"/>
    <plotarea margintop="10" marginleft="50" marginbottom="35" marginright="15"/>
    <legend visible="false"/>

    <horizontalaxis id="x" min="1899" max="2001" length="1" base="-1,-1" anchor="-1" tickmin="-5" tickmax="5">
      <labels format="%1d" start="0" spacing="1000 500 200 100 50 20 10 5 2 1" anchor="0,0" position="-5,-16" angle="45" />
      <title/>
      <grid color="0xcccccc"/>
    </horizontalaxis>

    <verticalaxis   id="y"  min="0" max="1" length="1">
      <labels format="%.3f" start="0" spacing="100 20 10 5 2 1 0.5 0.2 0.1 0.05 0.025 0.01 0.005 0.001" anchor="0,0" position="-18,0" angle="0" />
      <title/>
      <grid color="0xcccccc"/>
    </verticalaxis>

    <plot>
      <horizontalaxis ref="x">
        <variable ref="x"/>
      </horizontalaxis>
      <verticalaxis ref="y">
        <variable ref="y"/>
      </verticalaxis>
      <renderer type="fill">
      <option name="linecolor" value="0x310085"/>
      <option name="linewidth" value="2"/>
      <option name="fillcolor" value="0x310085"/>
      <option name="fillopacity" value=".1"/>
      <option name="fillbase" value="0"/>
      </renderer>
    </plot>

    <plot>
      <horizontalaxis ref="x">
        <variable ref="x"/>
      </horizontalaxis>
      <verticalaxis ref="y">
        <variable ref="y1"/>
      </verticalaxis>
      <renderer type="point">
      <option name="linecolor" value="0x004516"/>
      <option name="linewidth" value="3"/>
      <option name="pointsize" value="3"/>
      <option name="pointcolor" value="0x004516"/>
      <option name="pointoutlinecolor" value="0x004516"/>
      <option name="pointshape" value="diamond"/>
      </renderer>
    </plot>

    <data>
      <variables>
        <variable column="0" id="x"/>
        <variable column="1" id="y" missingvalue="-9000" missingop="le"/>
        <variable column="2" id="y1" missingvalue="-9000" missingop="le"/>
      </variables>
      <values>
	1900,0.710738,0.06
	1901,0.709837,0.02
	1902,0.738885,0.05
	1903,0.822017,0.08
	1904,0.828376,0.051
	1905,0.748973,0.06
	1906,0.670167,0.04813
	1907,0.717963,0.0351
	1908,0.757014,0.06846
	1909,0.742775,0.081
	1910,0.623549,0.13
	1911,0.659830,0.1654
	1912,0.692456,0.1654
	1913,0.699934,0.1321
	1914,0.709540,0.154
	1915,0.666296,0.264
	1916,0.615051,0.2654
	1917,0.681798,0.1684
	1918,0.653037,0.131
	1919,0.594194,0.264
	1920,0.657729,0.2564
	1921,0.661296,0.2564
	1922,0.633630,0.164
	1923,0.596698,0.187
	1924,0.601313,0.153
	1925,0.609820,0.2648
	1926,0.635884,0.25
	1927,0.623605,0.2684
	1928,0.559513,0.2684
	1929,0.598222,0.225
	1930,0.652624,0.213
	1931,0.632389,0.3654
	1932,0.624553,0.368
	1933,0.609135,0.3
	1934,0.602625,0.354
	1935,0.566810,0.324
	1936,0.552560,0.386465
	1937,0.584782,0.3684
	1938,0.576507,0.3
	1939,0.518921,0.243
	1940,0.498726,0.275
	1941,0.512738,0.332
	1942,0.520879,0.364
	1943,0.541142,0.235
	1944,0.535743,0.3
	1945,0.471457,0.367
	1946,0.511557,0.3345
	1947,0.533288,0.3
	1948,0.521996,0.3312
	1949,0.569460,0.4654
	1950,0.486723,0.487
	1951,0.458477,0.445
	1952,0.536644,0.33
	1953,0.453351,0.365
	1954,0.444120,0.34
	1955,0.480438,0.3687
	1956,0.453878,0.445
	1957,0.421881,0.46
	1958,0.463311,0.4987
	1959,0.395277,0.44
	1960,0.440320,0.478624475
	1961,0.461807,0.47786
	1962,0.461378,0.4856
	1963,0.453368,0.4785
	1964,0.495349,0.565
	1965,0.476183,0.587
	1966,0.453868,0.45
	1967,0.400522,0.475
	1968,0.375041,0.5741
	1969,0.400482,0.055878
	1970,0.35000,0.0463
	1971,0.32949,00.0483468
	1972,0.40048,0.056577
	1973,0.34323,0.04565
	1974,0.28038,0.01595
	1975,0.22222,0.024577
	1976,0.21249,0.0245752
	1977,0.16917,0.0148876
	1978,0.12997,0.03677
	1979,0.21494,0.0386
	1980,0.34324,0.046635
	1981,0.10462,0.0296
	1982,0.16345,0.046453
	1983,0.26579,0.046736
	1984,0.19985,0.0066357
	1985,0.11840,0.0286
	1986,0.08803,0.036
	1987,0.02799,00.036
	1988,0.04865,0.0375
	1989,0.01272,0.0257
	1990,0.02405,0.627
	1991,0.01516,0.637
	1992,0.20668,0.417
	1993,0.10813,0.437
	1994,0.00944,0.5197
	1995,0.00449,0.527
	1996,0.05404,0.597
	1997,0.07509,0.61717
	1998,0.12080,0.51778
	1999,0.13792,0.6167
	2000,0.16613,0.7
      </values>
    </data>
</mugl>