matlab/matlab-agentic-toolkit / skills-catalog/matlab-app-building/matlab-build-chart
matlab-build-chart
VerifiedCreate and customize MATLAB charts and plots. Plot types (line, scatter, bar, histogram, heatmap, surface), axes configuration, annotations, data tips, interactive plots, animation, multiple axes with tiledlayout, colororder, and performance optimization. Works for standalone figures, Live Scripts, and uifigure apps. Use when plotting data, customizing axes, adding annotations or interactivity, animating charts, or arranging multiple axes. Triggers: plot, chart, graph, axes, uiaxes, annotation, data tips, animation, tiledlayout, colororder, heatmap, scatter, figure, visualization, export.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.7 KB |
| manifest.yaml | config | 523 B |
| references/animation.mdexecutable | script | 2.1 KB |
| references/annotations.mdexecutable | script | 1.2 KB |
| references/axes-config.mdexecutable | script | 2.2 KB |
| references/chart-palettes.mdexecutable | script | 1.8 KB |
| references/data-tips.mdexecutable | script | 976 B |
| references/interactive-plots.mdexecutable | script | 2.9 KB |
| references/multiple-axes.mdexecutable | script | 2.4 KB |
| references/performance.mdexecutable | script | 4.0 KB |
| references/plot-types.mdexecutable | script | 2.4 KB |
references/data-tips.md
View on GitHub# Data Tips
## Customizing Hover Tooltips
Every plot object has a `DataTipTemplate` property:
```matlab
s = scatter(ax, x, y);
s.DataTipTemplate.DataTipRows(1).Label = "Time";
s.DataTipTemplate.DataTipRows(2).Label = "Value";
```
## Adding Custom Rows
```matlab
% From a data array
row = dataTipTextRow("Category", categoryLabels);
s.DataTipTemplate.DataTipRows(end+1) = row;
% From a function (computed per point)
row = dataTipTextRow("Ratio", @(~, evt) sprintf("%.1f%%", evt.Y/evt.X*100));
s.DataTipTemplate.DataTipRows(end+1) = row;
% With format string
row = dataTipTextRow("Price", priceData, '$%,.2f');
```
## Programmatic Data Tips
```matlab
dt = datatip(p, 5, 25); % at coordinates
dt = datatip(p, 'DataIndex', 10); % at 10th data point
dt.Location = 'northeast'; % tip position
delete(findobj(ax, 'Type', 'datatip')); % clear all tips
```
----
Copyright 2026 The MathWorks, Inc.
----
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |