Publish from Curve Viewer and Other Sources

GX-TXT P011-bis · Scientific Dataset Plot 4.4.2

Curve Viewer builds a native draft with canonical sources, shows it on the canvas and can publish it to Plots. Save the Workspace when you want to keep the editable draft. Publish when you want a persistent figure in the main browser.

Creating and viewing a Native2D draft

  1. Open Viewers → Curve Viewer and choose New 2D. Use Add source…, select osservazioni and then the X and Y variables.
  2. In the tab Plot of the source choose scatter and Y axis → right. The values are read from the Dataset and drawn with the right axis only. Use Apply and wait for the canvas.
  3. Fit fits the views to the data. Reset restores the initial view. The navigation actions change the view. The draft preview comes before publication.
Curve Viewer displays the draft with a single series on the right axis.
Curve Viewer displays the draft with a single series on the right axis. Enlarge

Publish Plot…

Explicit publication action
Create new Graph
When it appears and what it creates
Publishes the draft. In 2D it uses the base if free; when the base already has series, it creates a new variant. Check the reference shown in the status and the row in Plots.
Explicit publication action
Publish as new Variant
When it appears and what it creates
Requires an open or published source plot. Creates a new identity of the same family. A PDF or PNG exported on its own follows a different path.
Explicit publication action
Update opened Graph/Variant
When it appears and what it creates
Appears after Open Plot… on a v4 reference. Keeps the same ID. If the open plot was modified externally, reopen it before applying the draft, so as to preserve the external change.
After Open Plot…, Publish Plot… also shows Update opened Graph/Variant.
After Open Plot…, Publish Plot… also shows Update opened Graph/Variant. Enlarge
Update rejected because the variant changed after Open Plot…
Update rejected because the variant changed after Open Plot… Enlarge

In each mode use Plot title, then Apply. Close leaves the dialog. First check the outcome shown in the viewer footer, then open the result in Plots. If the open reference belongs to an old rendering, Curve Viewer loads it as a local draft for a new publication. The Update action requires the viewer’s native reference.

Comparing canonical series and publishing the comparison

  1. In Curve Viewer, open a draft with two enabled 2D series, each referring to canonical X/Y. You can open the native two-panel variant created by variant_panels_octave.m.
  2. Open Advanced → Compare source series…. The comparison uses complete series. When a series comes from filters, ordinals or cells, first publish the relevant subset as a canonical Dataset.
  3. Choose Mode and, if relevant, Normalization, Offset or Denominator floor. Use Apply for the draft. The view follows the common admitted X. When you need a persistent plot use Publish Plot… → Publish as new Variant and check the new row in Plots.
Mode
overlay
What it shows
Curves overlaid on the shared domain. Normalization none keeps the scale, minmax uses the normalized scale for the presentation.
Mode
top_bottom
What it shows
Vertical panels with shared X. Look at the ordinate of each source separately.
Mode
stacked
What it shows
Traces in the same panel with a display offset. Try 0.5 in Stacked display offset.
Mode
difference
What it shows
Difference over the admitted domain. Check the order of the sources and the sign of the ordinate in the result.
Mode
ratio
What it shows
Ratio. Ratio denominator floor controls the threshold for denominators close to zero. Use a positive threshold consistent with the units of the denominator.

The schema GXTXT_COMPARISON_PLOT_v1 keeps scientific references to the sources, mode, normalization, domain rules and presentation. The comparison from this GUI uses linear interpolation and the intersection on the grid of the first source. A published row is rebuilt from the valid sources. The derived comparison view of Curve Workbench instead uses its own active context and the owner of the numerical result.

Native2D comparison published in two panels with shared X.
Native2D comparison published in two panels with shared X. Enlarge
Comparison published in difference mode between the two measurements in volts.
Comparison published in difference mode between the two measurements in volts. Enlarge
Native ratio with the denominator floor set to 0.05 in the recipe.
Native ratio with the denominator floor set to 0.05 in the recipe. Enlarge

Workspace, files, inspection and other modules

Output
Save Workspace
Where to find it
Keeps the viewer draft and its history according to the Workspace commands. Reopen it from Advanced → Open Workspace… to edit it.
Output
Export…
Where to find it
Writes the chosen PNG, SVG or PDF file. A Plots row requires Publish Plot….
Output
Inspecting a scientific Dataset
Where to find it
Shows a temporary figure of the source and the filters. A managed model scientific_model and a raster render_model return a Job result. For a persistent figure use a PlotSpec and publication.
Output
Another Analysis module
Where to find it
Some calculations, such as Welch PSD & Averaged Spectrum, already offer their own plot. Run the module with the relevant scientific settings, then select its row in Plots. For the limits of the Welch variant see actual dimensions.

Field on exact triangular cells

The v4 recipe produces two adjacent triangles from their three node IDs, with a scalar assigned to each cell. The second plot uses the same centroids and shows the two values against their abscissa. Use native_models.py (ZIP) with the Datasets prepared by the recipe. For connectivity fields see PlotSpec.

Two triangular cells with distinct constant values, reopened in the Plots tab.
Two triangular cells with distinct constant values, reopened in the Plots tab. Enlarge
Centroid samples projected against X, without interpolation.
Centroid samples projected against X, without interpolation. Enlarge