실험 데이터 그래프·맞춤
plot_dataCreate graphs of measured data with error bars and fitted curves, returning equations with standard errors and R² for lab reports.
Instructions
Plot measured data with error bars and fit a curve (equation with ± standard errors, R²). For lab reports.
Example: {"series": [{"x": [0.1, 0.2, 0.3], "y": [0.52, 0.98, 1.55], "yerr": 0.05}], "fit": "linear", "x_label": "m (kg)"}
Or paste CSV/markdown table text in table and pick columns by header name; "2.3 ± 0.1" is value ± error. fit: linear, poly2, poly3, exponential, power, log.
On failure: errors name the series/column/row; fix it and call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | none | |
| name | No | File name | |
| log_x | No | ||
| log_y | No | ||
| table | No | CSV/markdown table text with a header row | |
| title | No | ||
| series | No | Or use table | |
| x_label | No | ||
| y_label | No | ||
| x_column | No | table: x column (default first) | |
| y_columns | No | table: y columns (default the rest) | |
| xerr_column | No | table: x error column | |
| yerr_columns | No | table: y error columns |