« 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 the "'''Madona'''" or [https://www.sqlite.org/ SQLite] formats given format as described [[DataFileManagement|here]].  
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 [[ResultsFileManagement|here]].  


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):
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):

Version du 26 octobre 2017 à 14:01

There is another higher level widget GPlotPanel] allowing to plot data stored in a file with the "Madona" or SQLite formats given format as described here.

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):

  • the prefix 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
  • 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:

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

    GPlotPanel plots = new GPlotPanel("EPH", "", "Ephemeris file", 0, true);
    
    ...

    public void display() throws GException {
        put(plots);
    }
}

This panel will then appear ...

GPlotPanel1.jpg


After selecting a file ...

GPlotPanel2.jpg


We may have something like that ...

GPlotPanel3.jpg

Return to the introduction ↑ Go to the next page →