origin_plot_auto
Inspect data columns and automatically select a suitable chart type, then create a plot. Optionally, describe your intent in natural language to guide chart selection.
Instructions
Inspect table columns, select a suitable chart route, and create the plot.
Provide intent when the desired comparison or relationship is known.
Otherwise the router uses column types, cardinality, and selected X/Y/Z or
error columns. Use origin_recommend_chart first when no graph should be
created yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a CSV, TSV, TXT, DAT, XLS, or XLSX file. | |
| nrows | No | Maximum number of data rows to read. | |
| title | No | Optional graph page long name. | |
| x_col | No | Column name or zero-based index to use as X. Defaults to the first column. | |
| z_col | No | Optional Z column for contour/XYZ plots. | |
| header | No | Zero-based row number to use as column names. | |
| intent | No | Optional natural-language chart intent used to guide automatic routing. | |
| y_cols | No | Column names or zero-based indexes to plot as Y. Defaults to all non-X columns. | |
| x_label | No | Optional X axis title. | |
| y_label | No | Optional Y axis title. | |
| encoding | No | Optional text file encoding. | |
| skiprows | No | Rows to skip while reading. | |
| book_name | No | Optional Origin workbook name. | |
| delimiter | No | Delimiter for text files. If omitted, CSV/TSV defaults or auto-detection are used. | |
| na_values | No | Additional missing value markers. | |
| graph_name | No | Optional Origin graph page name. | |
| sheet_name | No | Optional Origin worksheet name. | |
| style_mode | No | Graph styling policy. origin_default/template/theme/none preserve Origin template defaults; nature applies origin-mcp styling after plotting. | origin_default |
| excel_sheet | No | Excel sheet name or zero-based index. Ignored for text files. | |
| export_path | No | Optional graph export path. | |
| x_error_col | No | Optional X error column. | |
| y_error_col | No | Optional Y error column. | |
| palette_name | No | Optional registered color palette name used by the selected style mode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||