origin_axis_get
Retrieve the current scale and range of a graph axis from Origin, ensuring you set values based on actual state rather than remembered ones.
Instructions
Read an axis's scale and range as Origin currently holds them.
Worth doing before setting a range: Origin's own rescaling may already have moved it, and the number a caller remembers setting is not necessarily the one in the graph.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graph": "<graph>"
},
"name": "origin_axis_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | x | |
| graph | Yes | ||
| layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||