함수 그래프 그리기
plot_functionPlot mathematical functions y=f(x) as SVG, PNG, or PDF with a preview and warnings for asymptotes, jumps, and domain gaps.
Instructions
Plot y = f(x) (SVG, PNG, PDF) with a preview; asymptotes, jumps and domain gaps come back as warnings. Measured data: use plot_data. Example: {"series": [{"expr": "sin(x)exp(-x/5)"}], "x_range": [0, "4pi"]} expr: sympy syntax in x (x**2, sqrt(x), exp(x), log(x)=ln, abs(x), pi, e). Check series[].parsed. Labels may use $...$. On failure: errors name the series and character; fix it and call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name | |
| title | No | ||
| points | No | Data points to overlay | |
| series | Yes | ||
| x_label | No | ||
| x_range | Yes | [min, max]; numbers or e.g. "2*pi" | |
| y_label | No | ||
| y_range | No | [min, max]; empty = auto |