add_plot_to_graph
Add a new data series to an existing graph by specifying workbook, sheet, X and Y columns, and plot type. Optionally include error bars for Y values.
Instructions
Add another data series to an existing graph.
Args: graph_name: Existing graph name data_book: Source workbook name data_sheet: Source sheet name x_col: X column number (1-based) y_col: Y column number (1-based) plot_type: Plot type (scatter, line, line+symbol, etc.) y_error_col: Optional Y error column (1-based, 0=none)
Returns: Success message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| data_book | Yes | ||
| data_sheet | Yes | ||
| x_col | Yes | ||
| y_col | Yes | ||
| plot_type | No | scatter | |
| y_error_col | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |