<?xml version="1.0" encoding="ISO-8859-1"?>

<ze_graph>
  <ze_render>

    <!-- set image size -->
    <size>600, 500</size>

    <ze_scene>
      <ze_node>
        
        <!-- up-and-right shift of the plot-->
        <translate>20, 20, 0</translate>
        
        <!-- smooth lines-->
        <ze_blend></ze_blend>
        
        <ze_plot>
          
          <scale>.6, .6, .5</scale>
          <rotate>20, -60</rotate>
          
          <ze_font></ze_font>
                    
          <!-- set x-axis -->
          <xlabel>Longitude (deg-E)</xlabel>
          <xrange>110, 140</xrange>
          <xtickmarks>110, 5, 0</xtickmarks>
          <xanchor>0, -1, -1</xanchor>
          <xtickdigit>0</xtickdigit>

          <!-- set y-axis -->
          <ylabel>Latitude (deg-N)</ylabel>
          <yrange>20, 45</yrange>
          <ytickmarks>20, 5, 0</ytickmarks>
          <yanchor>-1, 0, -1</yanchor>
          <ytickdigit>0</ytickdigit>
          
          <!-- set z-axis -->
          <zlabel>Altitude (m)</zlabel>
          <zrange>0, 2500</zrange>
          <ztickmarks>500, 500, 0</ztickmarks>
          <zanchor>-1, 1, 0</zanchor>
          <ztickdigit>0</ztickdigit>
          
          <!-- coastlines -->
          <ze_line>
            <type>lines</type>
            <color>1, 1, 1, 1</color>
            <ze_vertex>
              <!-- read GSHHS coastline data -->        
              <dll params=".\xmlscript\gshhs_l.b land 110 140 20 45">zs.dll, read_gshhs</dll>
            </ze_vertex>
          </ze_line>
          
          <!-- filled frame -->
          <ze_polygon>
            <type>quads</type>
            <color>0.5, 0.5, 1, 1</color>
            <ze_vertex>
              <append>
                110 20 -1
                140 20 -1
                140 45 -1
                110 45 -1
              </append>
            </ze_vertex>
          </ze_polygon>
          
          <!-- trajectory lines and markers-->
          <ze_line>
            <type>linestrip</type>
            <solid>2</solid>
            <color>0, 0, 1, 1</color>
            <ze_vertex>
              <readtext x="5" y="6" z="7">.\xmlscript\traj.txt, JAN15</readtext>
            </ze_vertex>
          </ze_line>
                  
          <ze_point>
            <size>5</size>
            <color>1, 0, 0, 1</color>
            <smooth>true</smooth>
            <ze_vertex>
              <!-- plot maker for every 6 points -->
              <readtext x="5" y="6" z="7" skip="6">.\xmlscript\traj.txt, JAN15</readtext>
            </ze_vertex>
          </ze_point>
          
          <ze_line>
            <type>linestrip</type>
            <solid>2</solid>
            <color>0, 1, 1, 1</color>
            <ze_vertex>
              <readtext x="5" y="6" z="7">.\xmlscript\traj.txt, JAN17</readtext>
            </ze_vertex>
          </ze_line>

          <ze_point>
            <size>5</size>
            <color>1, 0, 0, 1</color>
            <smooth>true</smooth>
            <ze_vertex>
              <!-- plot maker for every 6 points -->
              <readtext x="5" y="6" z="7" skip="6">.\xmlscript\traj.txt, JAN17</readtext>
            </ze_vertex>
          </ze_point>
          
          <!-- line leads to the ground station -->
          <ze_line>
            <type>lines</type>
            <solid>1.5</solid>
            <color>1, 1, 0, 1</color>
            <ze_vertex>
              <append>123.8, 24.05 0  123.8 24.05 500</append>
            </ze_vertex>
          </ze_line>

          </ze_plot>
                
      </ze_node>
    </ze_scene>
    
    <!-- you can use
        <save>c:\temp\img.png</save>
        to save the image to img.png in c:\temp\
    -->
    <show>node</show>
  </ze_render>
</ze_graph>