What problem does it solve?
Building correct MATLAB visualizations requires knowing dozens of context-specific rules: uifigure apps reject subplot, annotation, ginput, and saveas, animations need in-place data updates instead of replotting, and choosing the right chart type for a data question is non-obvious. This Skill encodes those rules so charts work correctly in standalone figures, Live Scripts, and uifigure apps on the first attempt.
Core Features & Use Cases
- Intent-based chart selection: Maps data questions (comparison, trend, distribution, relationship, composition, geospatial, polar, surfaces, vector fields, volume) to the right MATLAB plotting functions.
- Context-aware constraints: Applies universal rules plus uifigure-specific restrictions (uiaxes only, exportgraphics instead of saveas, ButtonDownFcn instead of ginput).
- Interactivity and animation patterns: Provides reference implementations for click/drag callbacks, data tips, streaming with animatedline, and drawnow limitrate performance optimization.
- Use Case: A user asks to visualize streaming sensor data in an app. The Skill selects animatedline, creates a uiaxes inside uigridlayout, sets axis limits before the loop, and uses drawnow limitrate for smooth 20 fps updates.
Quick Start
Ask the agent to plot your data in MATLAB, for example: create an animated line chart of streaming sensor data inside a uifigure app with proper axes labels and export it to PNG.