origin_add_inset
Add an inset to an existing graph by embedding a new layer with specified data columns. Zoom to a sub-range for magnified detail or let it auto-scale.
Instructions
Add an inset (small embedded layer) to an existing graph.
A new layer is placed inside the graph at left/top with width/height (all percentages of the page) and the worksheet x_col/y_cols are plotted into it. Give x_start/x_end and/or y_start/y_end to zoom the inset to a sub-range (useful for a magnified detail view); otherwise the inset auto-scales.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worksheet | No | ||
| x_col | No | ||
| y_cols | No | ||
| graph_name | No | ||
| left | No | ||
| top | No | ||
| width | No | ||
| height | No | ||
| plot_type | No | line | |
| x_start | No | ||
| x_end | No | ||
| y_start | No | ||
| y_end | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||