plot_multi_expression
Overlay multiple mathematical expressions on a single 2D graph and render them as a PNG or SVG image for comparison.
Instructions
Plot multiple expressions overlaid on a single 2D graph, as a rendered image
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Workspace to use, as a name or a portable handle. Workspaces have independent variables. A name is scoped to this MCP session; a handle returned by start_sage_session (workspace_token) reaches the same workspace across reconnects and is a bearer credential -- keep it secret. Omit for 'default'. | default |
| variable | No | Plot variable | x |
| range_max | No | Upper bound of plot range | |
| range_min | No | Lower bound of plot range | |
| expressions | Yes | List of expressions to plot (e.g. ['sin(x)', 'cos(x)']) | |
| image_format | No | Image format to return: 'png' (raster) or 'svg' (vector, smaller) | png |