apply_color_map
Apply a custom color palette to contour, heatmap, or surface graphs to enhance data visualization. Supports perceptually uniform and colorblind-safe maps like Viridis and Cividis.
Instructions
Apply a color palette to a contour/heatmap/surface graph.
Args: graph_name: Graph name (must hold a colormapped plot) palette: Palette name. Bundled perceptually-uniform, colorblind-safe maps (recommended for quantitative data): Viridis, Cividis, Plasma, Inferno, Magma; muted/pastel variants matching a soft figure aesthetic: PastelViridis, PastelCividis. Also accepts built-in Origin .pal names, e.g. Heatmap4ColorBlind, GrayScale, RedWhiteBlue, Fire, Temperature.
Returns: Success message
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_name": "<graph_name>"
},
"name": "apply_color_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| palette | No | Viridis |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |