« GPlotPanel » : différence entre les versions

De GENIUS
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
There is another higher level widget [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel]] allowing to plot data stored in a file with a given format as described here below ...
There is another higher level widget [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel]] allowing to plot data stored in a file with the "'''Madona'''" or [https://www.sqlite.org/ SQLite] formats given format as described [[DataFileManagement|here].  


<syntaxhighlight lang="java">
Using this widget is very simple as you have just to instantiate and then display it. To instantiate it, you must give at least (for the "'''Madona'''" files):
#<AM-acces:COL-V2.0>
<INIT:
Logiciel="DOORS"
VERSION="V10.0"
<COL:
  0 : DATE ~cal (Date)
  1 : TIME ~s (Time)
  2 : X ~m (Integration Frame X Coordinates)
  3 : Y ~m (Integration Frame Y Coordinates)
  4 : Z ~m (Integration Frame Z Coordinates)
  5 : VX ~m/s (Integration Frame X Velocity Coordinates)
  6 : VY ~m/s (Integration Frame Y Velocity Coordinates)
  7 : VZ ~m/s (Integration Frame Z Velocity Coordinates)
  8 : PSI ~deg (Integration Frame Pitch Angle)
  9 : TETA ~deg (Integration Frame Yaw Angle)
  10 : PHI ~deg (Integration Frame Roll Angle)
 
>
>
2010-01-01T00:00:00.000 0.000000000000000e+00  6.678133638255782e+06  3.787739409565575e-01 -6.700773491792874e+03 -6.052524398242765e+00  4.780628779989441e+03 -6.031804544978191e+03  9.000000000000000e+01  5.160000022816957e+01  2.699999999999999e+02
2010-01-01T00:00:10.000 1.000000000000000e+01  6.677625571129634e+06  4.780559859589861e+04 -6.701701843926338e+04 -9.555978350214156e+01  4.780308392028196e+03 -6.031309305094114e+03  9.106301358852552e+01  5.159519405116432e+01  2.708330583318874e+02
...
</syntaxhighlight>
 
Note that to be interpreted, dates must have the "<font color=#FF8C00>yyyy-mm-ddThh:mm:ss.sss</font>" format (and the "unit" must be <font color=#FF8C00>~cal</font>).
 
 
Using this widget is very simple as you have just to instantiate and then display it. To instantiate it, you must give :
  * the prefix of the files you want to read
  * the prefix of the files you want to read
  * the suffix of the files you want to read
  * the suffix of the files you want to read
  * a comment giving a description of this kind of files
  * a comment giving a description of this kind of files
  * the maximum number of detached plot windows. If greater than 0 a "+" button wille be displayed in order to allow to display other plots in detached panels
  * the maximum number of detached plot windows. If greater than 0 a "+" button wille be displayed in order to allow to display other plots in detached panels
Nevertheless, you have the possibility to specify which kind of files you will have to consider, adding an additionnal parameter:
* either [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotDataMadonaReader.html GPlotDataMadonaReader]]
* or [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotDataSqliteReader.html GPlotDataSqliteReader]]


In the following example, we will check for EPH_* files (no specific suffix).
In the following example, we will check for EPH_* files (no specific suffix).

Version du 26 octobre 2017 à 13:03