Export, Import, and Reopen

GX-TXT P011-bis · Scientific Dataset Plot 4.4.2

Choose the format according to the object to keep: viewed image, vector presentation, self-contained scientific snapshot or Session with editable sources.

Figure files and packages

Control
Graph → Open PNG 1:1
Resulting object
View of the PNG at its natural size. Check fonts, grid and cropping. The PNG pixels match the saved rendering.
Control
Import / Export → Export…
Resulting object
Exports the figure in the available format. To keep the raster annotations use the annotated export item and check the visible layer.
Control
PlotSpec → output.extra_format
Resulting object
none leaves the standard output, svg or pdf request the additional vector artifact when the renderer supports it. Check the file next to the PNG, the title and the captions.
Control
Graph → Clone…
Resulting object
Creates a standalone copy of the rendering with scientific content when available. To find out, select the clone and check its row and the available actions. An image-only clone has a fixed presentation.
Control
Export Graph ZIP… / Import Graph ZIP…
Resulting object
Transfers a package recognized by GX-TXT. The import dialog distinguishes scientific clone and rendering only. A Dataset ZIP has its own importer. Check the new Plots row in the destination Session.
Control
Export conf… / Import conf…
Resulting object
Transfers the admitted settings. Apply the configuration to the compatible figure and regenerate to see the effect. Keep the required Datasets separately.

Transfer verified with a scientific clone

P011-bis limit, case 199. Export Graph ZIP directly from the XY base can show “Graph snapshot contains an undeclared executable or unsupported resource” and leave the destination empty. In the test, exporting from the scientific clone created from the same base succeeded.
  1. Select the published base 2D plot. Open Graph → Clone… and confirm the creation.
  2. In Plots, select the scientific clone. Use Import / Export → Export Graph ZIP…, choose a new name and check the message with SHA-256 and the number of files. The test returned 9 members.
  3. Open a new Session and use Import Graph ZIP…. If allowed, choose the scientific import. After the outcome message, select the newly created clone and check the preview and the embedded data.

Reopening a Session from a new process

  1. Use Save Config in the Session bar to fix the relevant working configurations. Check that the desired base and variants are visible in Plots.
  2. Close GX-TXT and open a new instance. From Open Session select the folder of the same Session. Open Plots and choose the row with the saved reference.
  3. Check the title or ID of the variant, sources, axes, units and captions, then open the PNG. The saved plot remains available after closing. To check the reconstruction, use Run or Rerender on a configuration that keeps the sources.
The Octave v4 variant opened from the Plots tab in a new instance.
The Octave v4 variant opened from the Plots tab in a new instance. Enlarge

In the cold check, 11 figures were reopened, including the four bar plots published with Python/Octave v3/v4, the two scatter figures with three captions, the panels and the v4 cell field.

Test results

Graph ZIP rejection message for the 2D source plot.
Graph ZIP rejection message for the 2D source plot. Enlarge
The Graph ZIP package of the clone to import into a new Session.
The Graph ZIP package of the clone to import into a new Session. Enlarge
Scientific clone opened after the verified-integrity message.
Scientific clone opened after the verified-integrity message. Enlarge