tickPlot.xsd 2.29 KB
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:include schemaLocation="plot.xsd" />  
  
    <xs:complexType name="TickPlotParams">
      <xs:annotation>
      <xs:documentation>Parameter serie definition for tick plot</xs:documentation>
      </xs:annotation>
      <xs:sequence>
      <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
        <xs:sequence>
          <xs:element name="serie" maxOccurs="unbounded" minOccurs="0">
          <xs:annotation>
            <xs:documentation>
            define serie index for vector componant
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="index" type="xs:string"/>       
            <xs:attribute name="resolution" type="xs:integer"/>      
          </xs:complexType>
          </xs:element>          
        </xs:sequence>
        <xs:attribute name="id" type="xs:string"/> <!-- parameter name -->      
        </xs:complexType>      
      </xs:element>
      </xs:sequence>
    </xs:complexType>
  
  <xs:element name="tickPlot" substitutionGroup="PlotElement">
    <xs:complexType >
      <xs:annotation>
        <xs:documentation>
    This plot is a standalone plot, it has its own time axis.
        </xs:documentation>
      </xs:annotation>
      <xs:sequence>
        <xs:element name="params" type="TickPlotParams" minOccurs="0" maxOccurs="1"/>
        <xs:element name="axes" minOccurs="1" maxOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="xAxis">
                <xs:complexType>
                  <xs:sequence minOccurs="0" maxOccurs="1">
                    <xs:element name="timeAxis" type="TimeAxis"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="format" type="xs:string" use="optional">
        <xs:annotation>
          <xs:documentation>tickmarks format. Uses printf format specification. 
(resulting string will be limited to 40 chars, due to plplot limitation)</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>   
   
</xs:schema>