Benutzer-Werkzeuge

Webseiten-Werkzeuge


guicomponents:plotsheets

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
guicomponents:plotsheets [2017/08/10 19:00] – [General] oliverguicomponents:plotsheets [2020/03/26 15:25] (aktuell) – [Timeseries Data configuration] oliver
Zeile 23: Zeile 23:
 Example sheet with legend on the left side and title on top of the sheet, diagrams show time-normalized and xy-plots and crosses for static measurements. It demonstrates that it is possible not to show at each sheet table position a diagram ("holes" are allowed.). Example sheet with legend on the left side and title on top of the sheet, diagrams show time-normalized and xy-plots and crosses for static measurements. It demonstrates that it is possible not to show at each sheet table position a diagram ("holes" are allowed.).
  
 +====Open a plot sheet====
 To open a sheet use the the "Plot Sheet" action in the context menu of single or multiselection of data, e.g. in the tree of an d3d-files. This opens the following dialog: To open a sheet use the the "Plot Sheet" action in the context menu of single or multiselection of data, e.g. in the tree of an d3d-files. This opens the following dialog:
  
Zeile 36: Zeile 37:
 ==== Save Mean+Std-Deviation of selected data ==== ==== Save Mean+Std-Deviation of selected data ====
  
-If mean/std of selected cycles are shown, e.g. stride in the case of a gaitanalysis, this can be exported  as a .d3d-file into the projects output folder. The saved data can be used as input for calculation of an inter-subject mean and std data reference to be shown as gray bars behind the curves.+If the sheet shows mean/std-data of selected cycles, e.g. left and right mean stride in the case of a gaitanalysis sessionthe data can be saved as a .d3d-file into the projects "output"folder. The saved data file can be used as input for calculation of an inter-subject mean and std data referenceto be shown as gray bars behind the curves.
  
 In the Plot Sheets tab context menu, execute “Save Mean/Std” action. This opens the following dialog: In the Plot Sheets tab context menu, execute “Save Mean/Std” action. This opens the following dialog:
  
-{{ :analysistools:save_mean-std_2.png?600 |}}+{{ :analysistools:save_mean-std_2.png?400 |}}
  
 The option "use labelset" can be used, if you want to export a set of timeseries defined in the project definition, which can be different than the set of timeseries shown in the plot sheet. This is useful, if you have more than one sheetdef to visualize your data but you want to save always the same dataset. To use this feature you have to add a <export>-tag for the calcgroup definition, with an "labelset"-attribute to specify the path to the labelset-file. Have a look at the following example: The option "use labelset" can be used, if you want to export a set of timeseries defined in the project definition, which can be different than the set of timeseries shown in the plot sheet. This is useful, if you have more than one sheetdef to visualize your data but you want to save always the same dataset. To use this feature you have to add a <export>-tag for the calcgroup definition, with an "labelset"-attribute to specify the path to the labelset-file. Have a look at the following example:
Zeile 115: Zeile 116:
 ^ name | | name of the element used to identifiy the element | Yes | ^ name | | name of the element used to identifiy the element | Yes |
 ^ comment | | | No |  ^ comment | | | No | 
-^ column | | | Yes | +^ column | | Index of the column where the diagram is placed. | Yes | 
-^ row | | | Yes |+^ row | | Index of the row where the diagram is placed. | Yes |
 ^ xunit | | x-axis unit name | No | ^ xunit | | x-axis unit name | No |
 ^ yunit | | y-axis unit name | No | ^ yunit | | y-axis unit name | No |
Zeile 124: Zeile 125:
 ^ diagramDescriptionRight | | | No  | ^ diagramDescriptionRight | | | No  |
 ^ plane | | s = sagital, f=frontal, t=transversal, typically a shortcut for the plane. | No | The letter is printed in the diagram title after the character ":". | ^ plane | | s = sagital, f=frontal, t=transversal, typically a shortcut for the plane. | No | The letter is printed in the diagram title after the character ":". |
-^ diagramType | XT XTXY | No |+^ diagramType | xt xtxy, xyz, phase, phaseangle, phaseshift, fft | No |
 ^ diagramTitle | | Text line printed above the diagram followed by " :" and the side given with the attribute "plane". | No | ^ diagramTitle | | Text line printed above the diagram followed by " :" and the side given with the attribute "plane". | No |
-^ upperYLimit, upperXLimit | autoadjust | If both attributes are set to double values than the upper and lower limit of the diagram is set | No | |+^ upperYLimit, upperXLimit | autoadjust | Only if both attributes are set to double valuesthe upper and lower limit of the diagram is set| No | |
  
  
Zeile 138: Zeile 139:
 </code> </code>
  
-If the timeseries are not of the math type double the attribute "component" allows to define, which component should be plotted. The side of the timeserie can be defined by the corresponding attribute.+If the timeseries are not of the math type doublethe attribute "component" allows to define, which component should be plotted. The side of the timeserie can be defined by the corresponding attribute.
  
 ^ Attribute name ^ Default ^ Description ^ Required ^ ^ Attribute name ^ Default ^ Description ^ Required ^
-^ name | | Name of the timeserie as used in the data files. | Yes | +^ name | | Name of the timeserieas used in the data files. | Yes | 
-^ component | | x,y,z if the math type of the timeseries is multidimensional, e.g. 3d vector, 3x3 matrix 3d, quaternion, ... an integer number starting with 0 defines, which of the components should be plotted. | No | +^ component | x (==0) | x,y,z if the math type of the timeseries is multidimensional, e.g. 3d vector, 3x3 matrix 3d, quaternion, ... an integer number starting with 0 defines, which of the components should be plotted. | No | 
-xComponent not set | x,y,z component attribute corresponding to the referenced xLabel | No | +xcomponent x (==0) | x,y,z component attribute corresponding to the referenced xLabel | No | 
-yComponent not set | x,y,z component attribute corresponding to the referenced yLabel | No | +ycomponent y (==1) | x,y,z component attribute corresponding to the referenced yLabel | No | 
-zComponent not set | x,y,z component attribute corresponding to the referenced zLabel | No |+zcomponent z (==2) | x,y,z component attribute corresponding to the referenced zLabel | No |
 ^ side | not set, which is interpreted most as "both". | left, right, both | No | ^ side | not set, which is interpreted most as "both". | left, right, both | No |
 ^ label | not set | Name of the timeserie as used in data files which includes all the needed dimensions. If not set, the value of the name attribute is used instead. | No | ^ label | not set | Name of the timeserie as used in data files which includes all the needed dimensions. If not set, the value of the name attribute is used instead. | No |
-xLabel | not set | For multidimensional plots as alternative to the label or name attribute, if the timeseries are saved as one-dimensional trajectories. | No | +xlabel, xlabel, zlabel | not set | For multidimensional plots as alternative to the label or name attribute, if the timeseries are saved as one-dimensional trajectories. | No | 
-^ xmean, ymean | false | Used for xy-plots only: If set to "true" the corresponding timeserie (defined by xLabel and xcomponent or yLabel and yComponent) is averaged and only the mean (const) value is used. If both attributes are set to "true" than a point is shown, else a horizontal/vertical line. | No | +^ xmean, ymean | false | Used for xy-plots only: If set to "true" the corresponding timeserie (defined by xlabel and xcomponent or yLabel and yComponent) is averaged and only the mean (const) value is used. If both attributes are set to "true" than a point is shown, else a horizontal/vertical line. | No | 
-yLabel | not set | For multidimensional plots as alternative to the label or name attributeif the timeseries are saved as one-dimensional trajectories. No | +xstartvalueystartvalue false If set to "true"than the value of the timeserie at index=0 is subtracted from all frames. This can be used in combination with xoffset.| No | 
-^ zLabel | not set | For multidimensional plots as alternative to the label or name attributeif the timeseries are saved as one-dimensional trajectories. | No | +xoffset, yoffset Name of a variableIts value is added. If the variable is a timeserie the value at index=0 is used. | No | 
-xstartvalue false Used in combination with xoffsetIf set to true, than the value defined by xoffset is added to all frames. If the offset defined by xoffset is multidimensional, than the the attribute xoffsetComponent is used to extract the component| No | +^ xoffsetcomponent, yoffsetcomponent If the variable defined by the attribute offset is multideminsional than this attribute defines the component to use. | No | 
-^ xoffset |  | Used in combination with xstartvalue.  | No | +^ xsign, ysign | false | If set to true, than the sign of the timeserie is reversed. This processing step is done before offset/startvalue processing!!! | No |
-^ xoffsetcomponent |  Used in combination with xstartvalue | No | +
-^ xsign | false | If set to true, than the sign of the timeserie is reversed. | No |+
 If the attributes xLabel, yLabel, zLabel are used, the attribute "component" is ignored. Instead the attributes xComponent, yComponent and zComponent are used. If the attributes xLabel, yLabel, zLabel are used, the attribute "component" is ignored. Instead the attributes xComponent, yComponent and zComponent are used.
  
 +The <Label>-element can have <Filter>-children to show filted data as described [[http://nimue-platform.motion-science.org/doku.php?id=modellingcomponents:filter#in_the_plot-sheet|here]].
 ==== Data groups configuration ==== ==== Data groups configuration ====
  
Zeile 182: Zeile 182:
  
 ^ name  ^ Description  ^ Required ^ ^ name  ^ Description  ^ Required ^
-^ name | | | +^ name | group name No 
-^ leftColor | | | +^ leftColor | color name for left side curves No 
-^ rightColor | | | +^ rightColor | color name for right side curves No 
-^ normData | | |+^ normData | name of the norm data file No |
  
 ==== Reference Data ==== ==== Reference Data ====
guicomponents/plotsheets.1502384426.txt.gz · Zuletzt geändert: 2017/08/10 19:00 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki