Skip to main content

Plot Write

Writes a plot visualization to an HTML file.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Plot ID - The unique identifier for the plot to write.
  • Output Path - The file path where the HTML output will be saved.

How It Works

The Plot Write node saves a plot visualization to an HTML file. When executed, the node:

  1. Retrieves the plot using the provided Plot ID
  2. Writes the plot to an HTML file at the specified Output Path
  3. Enables scroll zoom functionality in the saved HTML file
  4. Deletes the plot from internal storage after saving

Requirements

  • A valid Plot ID from a previously created plot
  • Write permissions for the specified Output Path

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Output Path
  • Issues writing the HTML file

Usage Notes

  • The saved HTML file is interactive and can be opened in any web browser
  • Scroll zoom is enabled by default in the saved HTML file
  • After writing, the plot is removed from internal storage
  • For best results, ensure the Output Path has the .html extension