plot_export_plot_data
Exports raw rendered plot-feature data vectors to CSV, such as line graph heights or 3D surface color values, so you can analyze or reuse the exact values COMSOL displays.
Instructions
Export the raw rendered data vectors of a plot feature to CSV.
COMSOL returns the data it renders per feature: for a LineGraph the
y-values (data type "Height"), for a 3D Surface the expression
values ("Color"). The CSV has one column per data vector (header =
data type name). This complements result_export_data (Data export
feature, owned by the results tools).
Args: plotgroup: plot group tag to read data from. feature: plot feature tag (defaults to the first feature). path: output CSV path (auto under artifact root when omitted). max_points: cap values written per column. model: model name/tag (None = current model).
Returns:
{"path","size","rows","columns","headers","feature","data_types"}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plotgroup": "<plotgroup>"
},
"name": "plot_export_plot_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| model | No | ||
| feature | No | ||
| plotgroup | Yes | ||
| max_points | No |