Examples

Real Examples
Basic Examples

test-graph6.xml

Download mugl: test-graph6.xml Open in Tester
<mugl>
  <background color="0x1F0045"/>
  <window border="0" margin="0" padding="0"/>
  <legend visible="false"/>
  <plotarea marginbottom="25" marginleft="40" marginright="15" margintop="10"/>

  <horizontalaxis  color="0xA37BD4" highlightstyle="labels" id="yearaxis" linewidth="0" max="2015" min="1875" tickmax="0" tickmin="-4" type="datetime">
    <labels color="0xA37BD4">
      <label format="%Y" spacing="1000Y 500Y 200Y 100Y 50Y 20Y 10Y 5Y 2Y 1Y"/>
      <label format="%n %y" spacing="6M 3M 2M 1M"/>
    </labels>
    <grid color="0x340073"/>
    <title/>
  </horizontalaxis>

  <verticalaxis  color="0xA37BD4" highlightstyle="labels" id="tempaxis" linewidth="0" max="20" min="12" tickmax="0" tickmin="-4" type="number">
    <labels densityfactor="0.5" format="%.2f" color="0xA37BD4" spacing="50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.02 0.01"/>
    <grid color="0x340073"/>
    <title/>
  </verticalaxis>

<plot>
    <horizontalaxis ref="yearaxis">
      <variable ref="year"/>
    </horizontalaxis>
    <verticalaxis ref="tempaxis">
      <variable ref="temp1"/>
    </verticalaxis>
    <renderer type="pointline">
      <option name="linecolor" value="0x83CF25"/>
      <option name="linewidth" value="2"/>
      <option name="pointoutlinecolor" value="0x83CF25"/>
      <option name="pointsize" value="2"/>
      <option name="pointcolor" value="0x83CF25"/>
    </renderer>
    <datatips format="{0}: {1}">
      <variable format="'%y"/>
      <variable format="%.1f"/>
    </datatips>
  </plot>

  <data>
    <variables>
      <variable column="0" id="year" type="datetime"/>
      <variable column="1" id="temp"/>
      <variable column="2" id="temp1"/>
    </variables>
    <values>
      1880,16.37,19.75
      1881,11.14,19.62
      1882,12.69,19.61
      1883,17.68,19.54
      1884,13.75,19.55
      1885,10.95,19.56
      1886,19.11,19.63
      1887,16.40,19.42
      1888,17.71,19.35
      1889,19.73,19.28
      1890,11.16,18.57
      1891,17.84,18.34
      1892,11.44,18.21
      1893,15.41,18.22
      1894,11.26,18.25
      1895,15.16,18.24
      1896,11.02,18.21
      1897,15.26,18.40
      1898,18.25,18.62
      1899,16.35,18.83
      1900,11.93,18.89
      1901,17.80,18.85
      1902,16.60,17.97
      1903,15.59,17.88
      1904,11.74,17.72
      1905,19.63,17.71
      1906,14.60,17.74
      1907,18.70,17.68
      1908,13.37,17.62
      1909,13.69,17.49
      1910,11.87,17.58
      1911,14.16,17.54
      1912,18.56,17.42
      1913,15.34,17.58
      1914,19.14,16.88
      1915,11.27,16.77
      1916,11.22,16.54
      1917,14.56,16.61
      1918,14.18,16.32
      1919,16.13,16.25
      1920,13.60,16.15
      1921,16.76,16.56
      1922,15.61,16.82
      1923,13.36,16.55
      1924,12.84,16.25
      1925,15.93,16.47
      1926,16.3,15.87
      1927,13.11,15.28
      1928,13.31,15.03
      1929,15.35,15.65
      1930,16.9,15.25
      1931,17.2,15.55
      1932,15.9,15.79
      1933,19.95,15.55
      1934,15.9,15.25
      1935,18.9,16.35
      1936,15.6,16.25
      1937,15.9,16.85
      1938,18.3,16.78
      1939,16.9,16.48
      1940,11.14,16.59
      1941,16.34,16.26
      1942,11.62,16.95
      1943,11.20,16.65
      1944,12.05,16.94
      1945,19.9,16.25
      1946,12.8,16.54
      1947,13.4,17.68
      1948,15.9,17.56
      1949,16.81,17.25
      1950,15.79,17.56
      1951,16.78,16.56
      1952,14.13,16.54
      1953,11.83,16.81
      1954,19.54,16.51
      1955,11.17,16.11
      1956,17.04,16.56
      1957,17.08,16.39
      1958,12.18,16.54
      1959,17.85,16.54
      1960,12.91,16.81
      1961,10.57,16.53
      1962,13.23,16.22
      1963,15.04,16.14
      1964,11.39,15.48
      1965,18.5,15.16
      1966,19.4,15.83
      1967,14.6,15.76
      1968,11.9,16.44
      1969,11.67,16.19
      1970,17.10,16.31
      1971,12.88,16.24
      1972,15.80,16.34
      1973,19.31,14.31
      1974,15.09,14.65
      1975,18.8,14.69
      1976,17.43,14.94
      1977,17.90,14.91
      1978,10.01,14.79
      1979,18.67,14.94
      1980,13.07,14.54
      1981,17.24,14.26
      1982,15.33,14.07
      1983,11.79,14.84
      1984,12.66,14.74
      1985,10.78,14.57
      1986,19.69,14.04
      1987,12.96,14.05
      1988,14.09,14.16
      1989,16.57,14.06
      1990,19.95,14.08
      1991,17.71,14.04
      1992,13.49,13.06
      1993,16.44,13.32
      1994,12.57,13.04
      1995,14.86,13.04
      1996,11.78,13.84
      1997,11.16,13.65
      1998,13.07,13.19
      1999,15.29,13.84
      2000,12.77,13.44
      2001,14.95,13.58
      2002,11.16,13.56
      2003,12.03,13.65
      2004,17.56,13.87
      2005,14.74,13.45
      2006,19.26,13.45
      2007,18.66,12.55
      2008,10.85,12.98
      2009,19.28,13.82
      2010,15.58,13.75
      2011,13.41,13.47
    </values>
  </data>
</mugl>