Examples

Real Examples
Basic Examples

fotos-sst.xml

Download mugl: fotos-sst.xml Open in Tester
<mugl>
  <window height="400" margin="2" padding="5" width="625"/>
  <background color="0xffffff">
    <img anchor="0 0" base="0 0" frame="plot" src="NOAA100-transparent.png"/>
  </background>
  <plotarea marginbottom="75" marginleft="50" marginright="25" margintop="50"/>
  <title fontsize="10">Sea Surface Temperature  Lon: -158.91, Lat: -17.05</title>
  <horizontalaxis id="haxis" max="2008" min="2006" type="datetime">
<!--    <labels anchor="1 0" angle="90" format="%Y %M %D" spacing="1M 1D"/> -->
    <labels angle="90" format="%Y %M %D" spacing="10Y 5Y 1Y 6M 1M 1D"/>
    <title position="0 -50">Date</title>
    <zoom allowed="yes" max="5Y" min="1Y"/>
    <pan max="20140101"/>
  </horizontalaxis>
  <legend anchor="0 1" base="0 1" border="1" bordercolor="0x000000" color="0xFFFFFF" opacity="0.8" position="0 25" rows="2">
    <icon height="20" width="20"/>
  </legend>
  <verticalaxis id="Degrees C" max="40" maxoffset="10" min="-3" minoffset="5" position="0 0" postgap="0" pregap="0" type="number">
    <title anchor="0 0" angle="90" position="-40 0">Degrees C</title>
    <labels format="%.1f" spacing="100 50 20 10 5 2 1 0.5 0.2 0.1" anchor="1 0" angle="0" position="-5 0" start="0"/>
  </verticalaxis>
  <plot>
    <horizontalaxis ref="haxis">
      <variable ref="time"/>
    </horizontalaxis>
    <verticalaxis ref="Degrees C">
      <variable ref="smc"/>
    </verticalaxis>
    <renderer type="line">
      <option name="linecolor" value="black"/>
      <option name="dotcolor" value="red"/>
      <option name="dotsize" value="3"/>
      <option name="linewidth" value="2"/>
    </renderer>
  </plot>
  <data>
    <variables>
      <variable type="datetime" id="time" column="0"/>
      <variable id="smc" column="1" missingvalue="-9999.0" missingop="eq"/>
    </variables>
    <values>
      20000115000000 , 13.46
      20000215000000 , 14.21
      20000315000000 , 13.74
      20000415000000 , 12.44
      20000515000000 , 11.4
      20000615000000 , 10.25
      20000715000000 , 9.4
      20000815000000 , 9.07
      20000915000000 , 9.16
      20001015000000 , 9.309999
      20001115000000 , 9.61
      20001215000000 , 11.099999
      20010115000000 , 12.86
      20010215000000 , 14.28
      20010315000000 , 14.7
      20010415000000 , 13.559999
      20010515000000 , 12.29
      20010615000000 , 10.99
      20010715000000 , 10.07
      20010815000000 , 9.38
      20010915000000 , 9.179999
      20011015000000 , 9.95
      20011115000000 , 10.809999
      20011215000000 , 12.03
      20020115000000 , 13.37
      20020215000000 , 14.5199995
      20020315000000 , 14.36
      20020415000000 , 13.83
      20020515000000 , 12.309999
      20020615000000 , 11.08
      20020715000000 , 10.099999
      20020815000000 , 9.65
      20020915000000 , 9.42
      20021015000000 , 9.559999
      20021115000000 , 10.78
      20021215000000 , 12.349999
      20030115000000 , 13.7
      20030215000000 , 14.34
      20030315000000 , 14.21
      20030415000000 , 13.299999
      20030515000000 , 12.12
      20030615000000 , 10.87
      20030715000000 , 9.87
      20030815000000 , 9.69
      20030915000000 , 9.54
      20031015000000 , 10.059999
      20031115000000 , 11.4
      20031215000000 , 12.75
      20040115000000 , 14.15
      20040215000000 , 15.12
      20040315000000 , 14.82
      20040415000000 , 13.7
      20040515000000 , 11.889999
      20040615000000 , 10.78
      20040715000000 , 10.07
      20040815000000 , 9.69
      20040915000000 , 9.58
      20041015000000 , 9.88
      20041115000000 , 11.05
      20041215000000 , 12.92
      20050115000000 , 14.19
      20050215000000 , 14.5199995
      20050315000000 , 14.429999
      20050415000000 , 13.71
      20050515000000 , 12.7699995
      20050615000000 , 11.7699995
      20050715000000 , 11.05
      20050815000000 , 9.91
      20050915000000 , 9.22
      20051015000000 , 9.37
      20051115000000 , 10.08
      20051215000000 , 11.4
      20060115000000 , 13.04
      20060215000000 , 13.679999
      20060315000000 , 14.15
      20060415000000 , 13.4
      20060515000000 , 12.28
      20060615000000 , 11.04
      20060715000000 , 9.99
      20060815000000 , 9.58
      20060915000000 , 9.34
      20061015000000 , 9.7
      20061115000000 , 11.12
      20061215000000 , 13.139999
      20070115000000 , 14.69
      20070215000000 , 14.95
      20070315000000 , 14.24
      20070415000000 , 13.23
      20070515000000 , 12.0199995
      20070615000000 , 11.2699995
      20070715000000 , 10.41
      20070815000000 , 9.809999
      20070915000000 , 9.58
      20071015000000 , 9.889999
      20071115000000 , 10.7
      20071215000000 , 11.63
      20080115000000 , 12.75
      20080215000000 , 13.07
      20080315000000 , 12.679999
      20080415000000 , 11.74
      20080515000000 , 11.15
      20080615000000 , 10.28
      20080715000000 , 9.95
      20080815000000 , 9.62
      20080915000000 , 9.349999
      20081015000000 , 9.55
      20081115000000 , 10.59
      20081215000000 , 11.849999
      20090115000000 , 12.96
      20090215000000 , 13.79
      20090315000000 , 13.74
      20090415000000 , 12.63
      20090515000000 , 11.429999
      20090615000000 , 10.5
      20090715000000 , 9.82
      20090815000000 , 9.28
      20090915000000 , 9.15
      20091015000000 , 9.94
      20091115000000 , 11.74
      20091215000000 , 13.849999
      20100115000000 , 14.87
      20100215000000 , 14.7
      20100315000000 , 14.21
      20100415000000 , 13.03
      20100515000000 , 11.94
      20100615000000 , 10.95
      20100715000000 , 10.219999
      20100815000000 , 9.809999
      20100915000000 , 9.67
      20101015000000 , 9.91
    </values>
  </data>
</mugl>