Changes between Version 9 and Version 10 of rp_xml_ele_unirect2d


Ignore:
Timestamp:
02/14/13 10:21:36 (14 months ago)
Author:
gah
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rp_xml_ele_unirect2d

    v9 v10  
    6565</field> 
    6666}}} 
    67 The field defines the relation between the points in space and the measured values at those points.  The field's '''{{{values}}}''' element is a list of values.  There will be one value for each x,y point defined by the grid.  The values must be order where the y-axis values vary first. 
    68 {{{ 
    69   v(1,1) v(1,2) v(1,3) ...  v(3,1) v(3,2) v(3,3) 
    70 }}} 
    71  
    72 In this example, the [wiki:rp_xml_ele_cloud <cloud>] contains a series of (x,y) points defining the mesh.  The <field> includes a <mesh> attribute pointing to '''{{{output.cloud(m2d)}}}''' as the underlying mesh.  The values within the field correspond to the points defined in the cloud.  The first value represents the field at the first mesh point, the second value at the second mesh point, and so forth. 
    73  
    74 [[BR]] 
    75 [[rpimage(zoo_3dfield.gif)]] 
    76 {{{ 
    77 <unirect2d id="mygrid"> 
    78    <about> 
    79     <label>2D Mesh</label> 
    80   </about> 
    81   <axis> 
    82     <min>1.0</min> 
    83     <max>10.0</max> 
    84     <npoints>100</npoints> 
    85     <label>X axis</label> 
    86     <units>secs</units> 
    87   </axis> 
    88   <axis> 
    89     <min>0.0</min> 
    90     <max>500.0</max> 
    91     <npoints>500</npoints> 
    92     <label>Y axis</label> 
    93     <units>um</units> 
    94   </axis> 
    95 </unirect2d> 
    96 }}} 
    9767 
    9868You can see working code in the [browser:trunk/examples/zoo zoo of example's] in the [browser:trunk/examples/zoo/unirect2d unirect2d example] or on the hub in the directory /apps/rappture/examples/zoo/unirect2d.