plot_group_create
Creates an empty COMSOL plot group at the results root, letting you define the plot type, dataset, title, and properties before adding plots.
Instructions
Create an empty plot group at the results root.
Args:
plotgroup_type: PlotGroup3D (default) | PlotGroup2D |
PlotGroup1D | PolarGroup | SmithGroup.
tag: plot group tag (auto pg1, pg2... when omitted).
dataset: dataset tag the group renders, e.g. "dset1" (default
solution), "cpl1" (cut plane), "cln1" (cut line). When
omitted COMSOL uses the default solution dataset.
title: plot title shown in the image / report.
properties: extra plot-group properties, e.g.
{"showlegends": "off", "title": "..."}.
model: model name/tag (None = current model).
Example: plot_group_create("PlotGroup3D", tag="pgT", dataset="dset1", title="Temperature (K)")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plot_group_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| model | No | ||
| title | No | ||
| dataset | No | ||
| properties | No | ||
| plotgroup_type | No | PlotGroup3D |