Plecs Plot
plecs_plotRuns a PLECS simulation or Bode analysis and returns a rendered plot image, choosing PLECS or Matplotlib output for waveform overlays.
Instructions
Run a simulation/analysis and return a PNG.
renderer: auto (default) prefers the PLECS-rendered bitmap; plecs forces
it (error if unavailable); matplotlib always renders locally (needed for overlays).
kind="waveform" runs a short simulation (default TimeSpan 1e-3 s);
kind="bode" requires analysis_name (the analysis Name property).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | waveform | |
| inline | No | ||
| options | No | ||
| save_to | No | ||
| renderer | No | auto | |
| overwrite | No | ||
| model_name | Yes | ||
| analysis_name | No | ||
| signal_indices | No |