Plot Dataset API v3 Reference
GX-TXT P011-bis · Scientific Dataset Plot 4.4.2
PLOT_DATASET_API_v3 is the deprecated facade kept for compatibility. The Tcl reference is ::GX::PlotDatasetAPIv3. Use the Script Bridge table when working from a Python or Octave Job.
The facade delegates many specification operations to v2, the identity lifecycle to v1 and interactive 3D representations to the dedicated service. The observed 2D renderer is Octave/GNUplot. A right-only series is rejected by the legacy renderer at creation or apply time; keep at least one left series active or choose the Native2D path.
Legacy XYZ cycle
Fields of the XYZ specification and runnable recipes. The family cartesian_3d delegates check and variant cycle to the legacy provider. render and rerender act on the persistent reference. For the base plot use the Analysis GUI. buildScene delegates to PLOT_DATASET_3D_API_v1 and returns metadata of an independent representation. The Bridge offers build_scene and headless Sync through the repertoire keys. The Tcl function openInteractive requires the host window. sourceFingerprint and interactiveStatus describe the match between the source and the last Sync. For the rendering effect, compare v3 and v4 using the same X, Y, Z and C IDs.
PlotSpec v2 contract
A PlotSpec is a dictionary. The 2D product codes are plot.dataset.xy and plot.dataset.xy_region. For a declarative 2D plot with data, use at least one panel and at least one valid series. One exception is the v4 comparison model, with its own support and identity. The shared abscissa must be consistent across panels and any explicit units must match those of the sources.
- Level
- 2D root
- Fields, types and effects
schema=PLOT_DATASET_PLOTSPEC_v2,graph_type=cartesian_2d,graph_id,titletext,multi_panelboolean,panelsordered list,defaults.styledictionary,output.extra_format=none|svg|pdf. The functionsnewSpecandnew_specfill in the base values listed in the table below. Reading and writing keep the variant identity in the respective reference.
- Level
- Panel
- Fields, types and effects
idstable and distinct,titlesingle-line,axesdictionary with keysx,y_left,y_right.seriesandannotationsare ordered lists. Avoid duplicate series IDs, even across panels.
- Level
- Axis
- Fields, types and effects
label,display_unit,scale,direction,min,max,major_step,minor_grid,tick_positions,tick_labels. Linear or logarithmic scale; normal or reversed direction. Finite limits and steps in the unit expected by the renderer. X pairs as two semicolon-separated strings. See tick constraints and precedence.
- Level
- Series
- Fields, types and effects
id,dataset_id,x_variable_id,y_variable_id,axis=left|rightrequired. Additional fields:kind,style,label,enabled,ordernon-negative integer,ordering_variable_idnumeric,family_variable_id,secondary_variable_id,family_label_prefix,row_filters,source_row_ordinals,source_row_continuityboolean. The variable IDs point to the same source as the series and to enabled variables. Filters are column predicates validated by Graph Series.
- Level
- Style and shape
- Fields, types and effects
kind=auto,line,scatter,line_marker,step,errorbar,band,bar,histogram,box_whisker.styleincludes color, stroke, width, marker, marker fill, size and opacity.step_mode=pre|post|mid. See style values.
- Level
- Uncertainty and limits
- Fields, types and effects
x_error/y_errorwithmode=none|symmetric|asymmetric. The symmetric one requiresvariable_id; the asymmetric one requireslower_variable_idandupper_variable_id.banduses the two limit columns anddraw_center.bar_boundsuses the two X limit columns.bar_widthpositive or auto,bar_baselinenumeric or auto.
- Level
- Distributions
- Fields, types and effects
histogram_bins=autoor an integer 2–512.histogram_normalization=count|probability|density.box_whisker_iqrpositive,box_show_outliersboolean. See compatibility.
- Level
- Annotations
- Fields, types and effects
type=reference_linewithvalue,reference_regionwithminandmaxincreasing, ortextwithx,yandlabelsingle-line.axis=x|left|right, X by default. Color and stroke follow the same validation as the allowed style.
- Level
- Native presentation
- Fields, types and effects
native_presentationuseGXTXT_NATIVE_GRAPH_PRESENTATION_v1where explicit. Containsgraphics,legend,axes,panels,layout,plot_configand, for the relevant branches, camera or level scales. The receipt reports the effective settings. Use the native reference and the public configuration instead of writing internal files directly.
- Level
- v4 cell field
- Fields, types and effects
cell_fieldof the series usesGXTXT_CELL_FIELD_BINDING_v1. Requiresnodes_dataset_id,node_id_variable_id,x_variable_id,y_variable_id,cell_id_variable_id,node_variable_idslist of three distinct IDs andscalar_variable_id. Nodes, cells and connectivity use true integers. Row filters and sorting are incompatible with the complete cell field. Native recipe (ZIP).
References, artifacts and return values
PlotRef contains module_id, graph_id, variant_id empty for the base and plot_id. read_plot adds display_name, enabled, config, series, plotspec, plotspec_path and artifacts when relevant. In the render results check execution for state/diagnostics and artifacts for output_dir, graph_artifact, render_cache, summary, existing; v4 also exposes native_snapshot and renderer_owner. The native receipt can report counts, axes, tick list, legend box, dimensions, effective settings and requested/effective limits.
Tcl runtime operations
For the host, activate the provider with ::GX::modulePublicApiActivate plot.dataset PLOT_DATASET_API_v3. For variadic facades, the signature below is that of the actual owner. Names are case-sensitive.
Introspection
- Signature and destination
apiInfo
Depending on the product- Effect, return value and conditions
- Returns the descriptor: API ID/version, capabilities and schema; v3 includes deprecation and successor, v4 admitted types, owner and host operations. Related path.
- Bridge operation
api_info
- Signature and destination
capabilities
Depending on the product- Effect, return value and conditions
- Returns the list of capability identifiers provided by the build. Native extensions can depend on the loaded library. Related path.
- Bridge operation
- Host surface only
- Signature and destination
requireCapability capability
Depending on the product- Effect, return value and conditions
- Returns 1 if the capability is available. Raises an error if the name is not supported. Related path.
- Bridge operation
- Host surface only
- Signature and destination
supports capability
Depending on the product- Effect, return value and conditions
- Checks an identifier from the capability list. Returns 1 or 0. Related path.
- Bridge operation
- Host surface only
Identity and specification
- Signature and destination
applySpec plotRef spec
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::applySpec- Effect, return value and conditions
- Applies the specification to the reference configuration, after validation. Returns the updated plot record. Use render to update the image. Related path.
- Bridge operation
apply_spec
- Signature and destination
createPlot graphId ?kind = base? ?sourceVariant = {}?
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::createPlot- Effect, return value and conditions
- Creates the base or a variant by graph ID, optionally from the source variant. Returns PlotRef. Creation creates the identity; drawing requires render. Related path.
- Bridge operation
- Host surface only
- Signature and destination
createPlotFromSpec spec ?kind = base? ?sourceVariant = {}?
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::createPlotFromSpec- Effect, return value and conditions
- Validates the specification, creates a base or a variant and applies the configuration to the new reference. Returns PlotRef. The legacy renderer rejects a right-Y-only configuration. Related path.
- Bridge operation
create_plot
- Signature and destination
deletePlot plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::deletePlot- Effect, return value and conditions
- Deletes a variant and its configuration according to the framework lifecycle. The base has an enabled state. Returns the result of the operation. Related path.
- Bridge operation
delete_plot
- Signature and destination
deriveSpec plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::deriveSpec- Effect, return value and conditions
- Derives a current PlotSpec from the persistent configuration of the reference, adapting the series and the presentation of the product. Related path.
- Bridge operation
- Host surface only
- Signature and destination
getConfig plotRef key
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::getConfig- Effect, return value and conditions
- Reads the configuration of the key from the reference, taking the product defaults into account. Related path.
- Bridge operation
- Host surface only
- Signature and destination
loadSpec plotRef ?deriveIfMissing = 1?
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::loadSpec- Effect, return value and conditions
- Reads PlotSpec. deriveIfMissing = 1 allows derivation when the saved specification is missing; with 0 it requests the persistent specification. The content can depend on the saved graphics overrides. Related path.
- Bridge operation
load_spec
- Signature and destination
newSpec ?-graph_id id? ?-title testo? ?-panel_id id? ?-multi_panel auto|0|1?
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::newSpec- Effect, return value and conditions
- Builds a draft. Flat options: -graph_id plot.dataset.xy, -title auto, -panel_id main, -multi_panel auto. Omitted values use these defaults. Rejects an odd number or unknown option names. Add at least one series before ordinary validation. Related path.
- Signature and destination
openPlot graphId ?variantId = {}?
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::openPlot- Effect, return value and conditions
- Resolves a base or variant and returns PlotRef with module_id, graph_id, variant_id and plot_id. A nonexistent variant is rejected. Opening the reference does not start a window. Related path.
- Bridge operation
open_plot
- Signature and destination
panelIdsForArtifact path
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::panelIdsForArtifact- Effect, return value and conditions
- Returns the IDs of the panels associated with the Plot Dataset file; useful for choosing the position in a persistent layout. Related path.
- Bridge operation
- Host surface only
- Signature and destination
plotRefForArtifact path
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::plotRefForArtifact- Effect, return value and conditions
- Resolves the provider reference of the current file. An unrelated or unrecognized artifact returns an empty result. Related path.
- Bridge operation
- Host surface only
- Signature and destination
readPlot plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::readPlot- Effect, return value and conditions
- Reads the configuration of the reference, series, identity, enabled state and artifacts. For 2D it includes PlotSpec. Optional resources can be missing before render. Related path.
- Bridge operation
read_plot
- Signature and destination
reconcilePersistentPlots
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::reconcilePersistentPlots- Effect, return value and conditions
- Synchronizes the persistent PlotSpec representation with the identities and configuration managed in the current Session context. Use it in the host lifecycle. Related path.
- Bridge operation
- Host surface only
- Signature and destination
removeSpec plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::removeSpec- Effect, return value and conditions
- Removes the specification associated with the reference, keeping the plot identity. Returns 1 if present and removed, 0 otherwise. A later load can derive one from the configuration. Related path.
- Bridge operation
remove_spec
- Signature and destination
saveSpec plotRef spec
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::saveSpec- Effect, return value and conditions
- Validates and saves the specification in the Session. The host returns the save outcome, the Bridge wrapper translates it to 1. The rendered file requires a subsequent action. Related path.
- Bridge operation
save_spec
- Signature and destination
setConfig plotRef key value
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::setConfig- Effect, return value and conditions
- Writes a configuration key allowed by the product descriptor. Value and validation depend on the key type. Updates the persistent configuration. Related path.
- Bridge operation
- Host surface only
- Signature and destination
setPlotEnabled plotRef state
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::setPlotEnabled- Effect, return value and conditions
- Sets the enabled/disabled boolean on the reference. Returns the normalized value. The choice affects use and the flows that honor the enabled state. Related path.
- Bridge operation
set_plot_enabled
- Signature and destination
setTitle plotRef title
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::setTitle- Effect, return value and conditions
- Writes the figure title to the reference. The automatic value leaves the composition to the renderer. To see the change, regenerate the output. Related path.
- Bridge operation
- Host surface only
- Signature and destination
upsertPlotFromSpec producerModuleId providerKey spec
Depending on the product- Effect, return value and conditions
- Creates or updates a variant per product/producer-key pair. The key must have the prefix of the admitted producer. Returns the same PlotRef when the key exists. Related path.
- Bridge operation
upsert_plot
- Signature and destination
validateSpec spec
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::validateSpec- Effect, return value and conditions
- Validates the schema and the references of the accepted Datasets and variables. Returns 1 or an input error. Admission of a spec and actual preparation by the renderer are distinct steps. Related path.
- Bridge operation
validate_spec
Series, panels and axes
- Signature and destination
addPanel plotRef panelId
2D
Delegates to::GX::PlotDatasetAPIv2::addPanel- Effect, return value and conditions
- Adds the new ID to the specification. Use a compatible mode and a distinct ID. Returns the updated PlotSpec. Related path.
- Bridge operation
add_panel
- Signature and destination
getSeries plotRef seriesId
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::getSeries- Effect, return value and conditions
- Returns the record of a series of the reference, with Dataset, variables and presentation. Related path.
- Bridge operation
- Host surface only
- Signature and destination
listSeries plotRef ?includeDisabled = 1?
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::listSeries- Effect, return value and conditions
- Returns the plot series in order. includeDisabled is 1 by default where exposed by the owner. Use 0 to exclude disabled rows. Related path.
- Bridge operation
- Host surface only
- Signature and destination
movePanel plotRef panelId delta
2D
Delegates to::GX::PlotDatasetAPIv2::movePanel- Effect, return value and conditions
- Moves the panel by delta positions. Returns the updated PlotSpec, or unchanged at the edge. Related path.
- Bridge operation
move_panel
- Signature and destination
moveSeries plotRef seriesId direction
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::moveSeries- Effect, return value and conditions
- Moves the series in the plot order according to direction. The end position limits the movement. Related path.
- Bridge operation
- Host surface only
- Signature and destination
multiPanelEnabled plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::multiPanelEnabled- Effect, return value and conditions
- Reads the boolean state of the panel stack. Related path.
- Bridge operation
multi_panel_enabled
- Signature and destination
panelIds plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::panelIds- Effect, return value and conditions
- Returns the list of panel IDs in the configured order. Related path.
- Bridge operation
panel_ids
- Signature and destination
panelInfo plotRef panelId
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::panelInfo- Effect, return value and conditions
- Returns the requested panel with its assignments, axes, title and annotations. Related path.
- Bridge operation
panel_info
- Signature and destination
removePanel plotRef panelId
2D
Delegates to::GX::PlotDatasetAPIv2::removePanel- Effect, return value and conditions
- Removes a compatible panel from the layout. Respects the minimum panel and relocates the series according to the lifecycle; check the remaining assignments. Related path.
- Bridge operation
remove_panel
- Signature and destination
removeSeries plotRef seriesId
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::removeSeries- Effect, return value and conditions
- Removes the specified Graph Series from the configuration; the next rendering reflects the operation. Related path.
- Bridge operation
- Host surface only
- Signature and destination
setMultiPanel plotRef state
2D
Delegates to::GX::PlotDatasetAPIv2::setMultiPanel- Effect, return value and conditions
- Sets the stacking state of the product. Stacked mode belongs to XY; distributions and rectangle use a single panel. Related path.
- Bridge operation
set_multi_panel
- Signature and destination
setPanelAxis plotRef panelId axis fields
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::setPanelAxis- Effect, return value and conditions
- Sets fields of the x, y_left or y_right axis of the panel. Pair both X tick fields when you change them. Returns the saved panel. Related path.
- Bridge operation
set_panel_axis
- Signature and destination
setPanelTitle plotRef panelId title
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::setPanelTitle- Effect, return value and conditions
- Changes the panel caption. Returns the panel record. Related path.
- Bridge operation
set_panel_title
- Signature and destination
setSeries plotRef seriesId fields
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::setSeries- Effect, return value and conditions
- Adds or updates the Graph Series by ID with the fields of the Graph Series contract, including Dataset, X/Y, side, label and filters. An invalid source is rejected. Related path.
- Bridge operation
- Host surface only
- Signature and destination
setSeriesEnabled plotRef seriesId state
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::setSeriesEnabled- Effect, return value and conditions
- Changes the enabled state of the series and checks the renderer conditions. The row reference stays stable. Related path.
- Bridge operation
- Host surface only
- Signature and destination
setSeriesOrder plotRef orderedIds
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::setSeriesOrder- Effect, return value and conditions
- Registers the sequence through the list of series IDs. Use the actual IDs and include the rows required by the owner. Related path.
- Bridge operation
- Host surface only
- Signature and destination
setSeriesPanel plotRef seriesId panelId
2D
Delegates to::GX::PlotDatasetAPIv2::setSeriesPanel- Effect, return value and conditions
- Assigns a series to the chosen panel and returns the updated specification. Use existing series and panel IDs. Related path.
- Bridge operation
set_series_panel
- Signature and destination
setSeriesPresentation plotRef seriesId fields
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::setSeriesPresentation- Effect, return value and conditions
- Edits the representation properties of the existing series, such as kind, style, band or errors. Returns the updated series after validation. Related path.
- Bridge operation
set_series_presentation
Rendering and exchange
- Signature and destination
artifacts plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::artifacts- Effect, return value and conditions
- Lists destination, PNG, cache and candidate summary. Existing reports which files exist. v4 adds native snapshot and owner. Related path.
- Bridge operation
artifacts
- Signature and destination
captureForArtifact artifact destinationDir
Depending on the product- Effect, return value and conditions
- Freezes sources and presentation of an eligible scientific artifact into the host directory. Rejects non-admitted sources or resources. Related path.
- Bridge operation
- Host surface only
- Signature and destination
openEditor plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::openEditor- Effect, return value and conditions
- Opens the existing editor for the reference. Requires active Tcl GUI and Session contexts. Related path.
- Bridge operation
- Host surface only
- Signature and destination
render plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::render- Effect, return value and conditions
- Prepares the sources and produces the artifacts of the reference. The result includes execution and artifacts; v4 includes renderer_owner and receipt when native. Data, schema or rendering errors can stop the step. Related path.
- Bridge operation
render
- Signature and destination
renderCommand plotRef ?operation = render?
Depending on the product
Delegates to::GX::PlotDatasetAPIv1::renderCommand- Effect, return value and conditions
- Returns the renderer invocation allowed by the host for the requested operation. The default is render. It serves orchestration, without starting the Job by itself. Related path.
- Bridge operation
- Host surface only
- Signature and destination
renderSnapshot cloneDir graph
Depending on the product- Effect, return value and conditions
- Regenerates the plot from its authorized snapshot, using the legacy or native owner. Destination and clone state remain the host’s responsibility. Related path.
- Bridge operation
- Host surface only
- Signature and destination
renderTransientCurve3D xValues yValues zValues label destinationDir
3D- Effect, return value and conditions
- Prepares the temporary curve from X/Y/Z sequences and caption in the host destination. Related path.
- Bridge operation
- Host surface only
- Signature and destination
renderTransientCurves2D xValues series label destinationDir ?xUnit = {}?
2D- Effect, return value and conditions
- Prepares 2D curves that share an X sequence with label and optional unit. Returns the temporary rendering in the host context. Related path.
- Bridge operation
- Host surface only
- Signature and destination
renderTransientIndependentCurves2D series label destinationDir
2D- Effect, return value and conditions
- Prepares 2D curves with independent X/Y pairs, allowed styles and captions. Returns temporary artifacts. Related path.
- Bridge operation
- Host surface only
- Signature and destination
renderTransientOverlay artifact xValues yValues label destinationDir
Depending on the product- Effect, return value and conditions
- Prepares a temporary rendering with the given X/Y curve over a valid source plot. Uses a host working directory. Related path.
- Bridge operation
- Host surface only
- Signature and destination
rerender plotRef
Depending on the product
Delegates to::GX::PlotDatasetAPIv2::rerender- Effect, return value and conditions
- Regenerates the current reference. In v4 it uses the same render path. Check timestamp, owner, output and errors before using the file. Related path.
- Bridge operation
rerender
- Signature and destination
writePointIndex artifact destination
Depending on the product- Effect, return value and conditions
- Writes an index of the points of an eligible artifact to the host destination, with source row identity. Requires valid scientific support. Related path.
- Bridge operation
- Host surface only
Scene, representation and 3D preview
- Signature and destination
activateInteractive representationId
3D
Delegates to::GX::PlotDataset3DAPIv1::activateRepresentation- Effect, return value and conditions
- Activates the interactive representation of the ID in the viewer. Related path.
- Bridge operation
- Host surface only
- Signature and destination
buildScene plotRef ?representationId = {}?
3D
Delegates to::GX::PlotDataset3DAPIv1::buildScene- Effect, return value and conditions
- Creates or synchronizes a scientific representation from the 3D reference. The optional ID identifies the representation to reuse in the host context. Related path.
- Bridge operation
build_scene
- Signature and destination
interactiveRepresentations
3D
Delegates to::GX::PlotDataset3DAPIv1::representations- Effect, return value and conditions
- Lists the available persistent representations with identity and state, in the Session context. Related path.
- Bridge operation
interactive_representations
- Signature and destination
interactiveSourceInfo plotRef
3D
Delegates to::GX::PlotDataset3DAPIv1::sourceInfo- Effect, return value and conditions
- Reads the description and source state of the 3D reference. Related path.
- Bridge operation
interactive_source_info
- Signature and destination
interactiveSources
3D
Delegates to::GX::PlotDataset3DAPIv1::sources- Effect, return value and conditions
- Lists the 3D source references that the service can associate with representations. Related path.
- Bridge operation
interactive_sources
- Signature and destination
interactiveStatus representationId
3D
Delegates to::GX::PlotDataset3DAPIv1::syncStatus- Effect, return value and conditions
- Reads SYNCED, OUT OF SYNC or SOURCE MISSING for the representation identity. Related path.
- Bridge operation
interactive_status
- Signature and destination
openInteractive plotRef
3D
Delegates to::GX::PlotDataset3DAPIv1::openInteractive- Effect, return value and conditions
- Opens the interactive representation of the 3D scientific reference, with the owner’s viewer. Related path.
- Bridge operation
- Host surface only
- Signature and destination
previewCompatibility ref
3D
Delegates to::GX::PlotDataset3DAPIv1::previewCompatibility- Effect, return value and conditions
- Queries availability and limits of the 3D reference for the preview path. Related path.
- Bridge operation
- Host surface only
- Signature and destination
previewExportCommand plotRef output
3D- Effect, return value and conditions
- Prepares the worker command to export a 3D scene for reading. The directory is owned by the host. Related path.
- Bridge operation
- Host surface only
- Signature and destination
refreshInteractive plotRef
3D
Delegates to::GX::PlotDataset3DAPIv1::refreshInteractive- Effect, return value and conditions
- Requests an update of the interactive reference starting from the resolved product. Related path.
- Bridge operation
- Host surface only
- Signature and destination
sourceFingerprint plotRef
3D
Delegates to::GX::PlotDataset3DAPIv1::sourceFingerprint- Effect, return value and conditions
- Computes the fingerprint of the 3D source reference to detect changes. Related path.
- Bridge operation
source_fingerprint
- Signature and destination
syncInteractive representationId
3D
Delegates to::GX::PlotDataset3DAPIv1::syncInteractive- Effect, return value and conditions
- Explicitly synchronizes the representation with the source and can open the viewer. Returns the scene or diagnostics. Related path.
- Bridge operation
sync_interactive
Operations registered in Script Bridge
Use gxtxt_api_call in the managed Job. The outer Python list or the outer Octave cell contains the positional arguments. Here, availability indicates the shared keys of the installed registry. The manual’s recipes show the 2D calls that were run and the branches with verified rejection.
- Operation and signature
add_panel
plot_ref (struct), panel_id (string)- Job contract
- Adds the new ID to the specification. Use a compatible mode and a distinct ID. Returns the updated PlotSpec. Registered contract: PlotSpec struct.
- Link to the runtime
addPanel
- Operation and signature
api_info
no arguments- Job contract
- Returns the descriptor: API ID/version, capabilities and schema; v3 includes deprecation and successor, v4 admitted types, owner and host operations. Registered contract: descriptor struct.
- Link to the runtime
apiInfo
- Operation and signature
apply_spec
plot_ref (struct), spec (struct)- Job contract
- Applies the specification to the reference configuration, after validation. Returns the updated plot record. Use render to update the image. Registered contract: plot record struct.
- Link to the runtime
applySpec
- Operation and signature
artifacts
plot_ref (struct)- Job contract
- Lists destination, PNG, cache and candidate summary. Existing reports which files exist. v4 adds native snapshot and owner. Registered contract: artifact struct.
- Link to the runtime
artifacts
- Operation and signature
build_scene
plot_ref (struct)- Job contract
- Creates or synchronizes a scientific representation from the 3D reference. The optional ID identifies the representation to reuse in the host context. Registered contract: representation struct.
- Link to the runtime
buildScene
- Operation and signature
create_plot
spec (PlotSpec v2 struct), kind (base or variant), source_variant (string, optional)- Job contract
- Validates the specification, creates a base or a variant and applies the configuration to the new reference. Returns PlotRef. The legacy renderer rejects a right-Y-only configuration. Registered contract: plot reference struct.
- Link to the runtime
createPlotFromSpec
- Operation and signature
delete_plot
plot_ref (struct)- Job contract
- The call accepts only a deletable variant reference. Returns 1 on success. Registered contract: integer 0 or 1.
- Link to the runtime
deletePlot
- Operation and signature
interactive_representations
no arguments- Job contract
- Lists the available persistent representations with identity and state, in the Session context. Registered contract: cell of representation structs.
- Link to the runtime
interactiveRepresentations
- Operation and signature
interactive_source_info
plot_ref (struct)- Job contract
- Reads the description and source state of the 3D reference. Registered contract: source struct.
- Link to the runtime
interactiveSourceInfo
- Operation and signature
interactive_sources
no arguments- Job contract
- Lists the 3D source references that the service can associate with representations. Registered contract: cell of plot references.
- Link to the runtime
interactiveSources
- Operation and signature
interactive_status
representation_id (string)- Job contract
- Reads SYNCED, OUT OF SYNC or SOURCE MISSING for the representation identity. Registered contract: status string.
- Link to the runtime
interactiveStatus
- Operation and signature
load_spec
plot_ref (struct), derive_if_missing (integer, optional)- Job contract
- Reads PlotSpec. deriveIfMissing = 1 allows derivation when the saved specification is missing; with 0 it requests the persistent specification. The content can depend on the saved graphics overrides. Registered contract: PlotSpec struct.
- Link to the runtime
loadSpec
- Operation and signature
move_panel
plot_ref (struct), panel_id (string), delta (integer)- Job contract
- Moves the panel by delta positions. Returns the updated PlotSpec, or unchanged at the edge. Registered contract: PlotSpec struct.
- Link to the runtime
movePanel
- Operation and signature
multi_panel_enabled
plot_ref (struct)- Job contract
- Reads the boolean state of the panel stack. Registered contract: integer 0 or 1.
- Link to the runtime
multiPanelEnabled
- Operation and signature
newSpec
option_value_pairs (zero or more original flat text option/value arguments, optional)- Job contract
- Runs the original constructor with flat text arguments. An empty list means all defaults. An odd number and unknown options are rejected. Returns PlotSpec. Registered contract: Original newSpec fields through existing _plot_spec and unchanged owner defaults/options/errors; native Octave NUL requires the shared String codec at both endpoints.
- Link to the runtime
newSpec
- Operation and signature
new_spec
graph_id (string), title (string)- Job contract
- Accepts graph_id and title as mandatory positional strings. Returns the PlotSpec draft, to be completed with panels and series. Registered contract: PlotSpec v2 struct.
- Link to the runtime
newSpec
- Operation and signature
open_plot
graph_id (string), variant_id (string, optional)- Job contract
- Resolves a base or variant and returns PlotRef with module_id, graph_id, variant_id and plot_id. A nonexistent variant is rejected. Opening the reference does not start a window. Registered contract: plot reference struct.
- Link to the runtime
openPlot
- Operation and signature
panel_ids
plot_ref (struct)- Job contract
- Returns the list of panel IDs in the configured order. Registered contract: cell of panel IDs.
- Link to the runtime
panelIds
- Operation and signature
panel_info
plot_ref (struct), panel_id (string)- Job contract
- Returns the requested panel with its assignments, axes, title and annotations. Registered contract: panel struct.
- Link to the runtime
panelInfo
- Operation and signature
read_plot
plot_ref (struct)- Job contract
- Reads the configuration of the reference, series, identity, enabled state and artifacts. For 2D it includes PlotSpec. Optional resources can be missing before render. Registered contract: plot record struct.
- Link to the runtime
readPlot
- Operation and signature
remove_panel
plot_ref (struct), panel_id (string)- Job contract
- Removes a compatible panel from the layout. Respects the minimum panel and relocates the series according to the lifecycle; check the remaining assignments. Registered contract: PlotSpec struct.
- Link to the runtime
removePanel
- Operation and signature
remove_spec
plot_ref (struct)- Job contract
- Removes the specification associated with the reference, keeping the plot identity. Returns 1 if present and removed, 0 otherwise. A later load can derive one from the configuration. Registered contract: integer 0 or 1.
- Link to the runtime
removeSpec
- Operation and signature
render
plot_ref (struct)- Job contract
- Prepares the sources and produces the artifacts of the reference. The result includes execution and artifacts; v4 includes renderer_owner and receipt when native. Data, schema or rendering errors can stop the step. Registered contract: render result struct.
- Link to the runtime
render
- Operation and signature
rerender
plot_ref (struct)- Job contract
- Regenerates the current reference. In v4 it uses the same render path. Check timestamp, owner, output and errors before using the file. Registered contract: render result struct.
- Link to the runtime
rerender
- Operation and signature
save_spec
plot_ref (struct), spec (struct)- Job contract
- The wrapper returns 1 when saving succeeds. To redraw, use render. Registered contract: integer 1.
- Link to the runtime
saveSpec
- Operation and signature
set_multi_panel
plot_ref (struct), state (integer)- Job contract
- Sets the stacking state of the product. Stacked mode belongs to XY; distributions and rectangle use a single panel. Registered contract: integer 0 or 1.
- Link to the runtime
setMultiPanel
- Operation and signature
set_panel_axis
plot_ref (struct), panel_id (string), axis (string), fields (struct)- Job contract
- Sets fields of the x, y_left or y_right axis of the panel. Pair both X tick fields when you change them. Returns the saved panel. Registered contract: panel struct.
- Link to the runtime
setPanelAxis
- Operation and signature
set_panel_title
plot_ref (struct), panel_id (string), title (string)- Job contract
- Changes the panel caption. Returns the panel record. Registered contract: panel struct.
- Link to the runtime
setPanelTitle
- Operation and signature
set_plot_enabled
plot_ref (struct), state (integer)- Job contract
- Returns 0 or 1 as the new normalized value. Acts on the existing reference. Registered contract: integer 0 or 1.
- Link to the runtime
setPlotEnabled
- Operation and signature
set_series_panel
plot_ref (struct), series_id (string), panel_id (string)- Job contract
- Assigns a series to the chosen panel and returns the updated specification. Use existing series and panel IDs. Registered contract: PlotSpec struct.
- Link to the runtime
setSeriesPanel
- Operation and signature
set_series_presentation
plot_ref (struct), series_id (string), fields (struct)- Job contract
- Edits the representation properties of the existing series, such as kind, style, band or errors. Returns the updated series after validation. Registered contract: series struct.
- Link to the runtime
setSeriesPresentation
- Operation and signature
source_fingerprint
plot_ref (struct)- Job contract
- Computes the fingerprint of the 3D source reference to detect changes. Registered contract: fingerprint string.
- Link to the runtime
sourceFingerprint
- Operation and signature
sync_interactive
representation_id (string)- Job contract
- Explicitly synchronizes the representation with the source and can open the viewer. Returns the scene or diagnostics. Registered contract: scene struct.
- Link to the runtime
syncInteractive
- Operation and signature
upsert_plot
provider_key (string), spec (PlotSpec v2 struct)- Job contract
- The Job uses the current producer and adds the prefix to the key. Returns PlotRef, keeping the ID if the key already identifies the variant of the same product. Registered contract: plot reference struct.
- Link to the runtime
upsertPlotFromSpec
- Operation and signature
validate_spec
spec (struct)- Job contract
- Validates the schema and the references of the accepted Datasets and variables. Returns 1 or an input error. Admission of a spec and actual preparation by the renderer are distinct steps. Registered contract: logical.
- Link to the runtime
validateSpec