Logo: Matlab Build Chart

Matlab Build Chart

OrganisatiounBeléift
matlab
matlab-build-chart

Create 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.

Iwwersiicht

Editeurmatlab
Repositorymatlab-agentic-toolkit
Skill-Nummmatlab-build-chart
Stären
1.2K
Forks
138
Matgeliwwert Dateien
10
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 10 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    matlab huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Matlab Build Chart an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/matlab-app-building/matlab-build-chart
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/matlab-agentic-toolkit.git /tmp/matlab-agentic-toolkit
mkdir -p .claude/skills
cp -r /tmp/matlab-agentic-toolkit/skills-catalog/matlab-app-building/matlab-build-chart .claude/skills/matlab-build-chart
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Matlab Build Chart an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Matlab Build Chart automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Matlab Build Chart net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

MATLAB Chart Builder

Create, customize, and interact with MATLAB charts and plots — in standalone figures, Live Scripts, or uifigure apps.

When to Use This Skill

Use this skill when:

  • Plotting data (line, scatter, bar, histogram, heatmap, surface, polar, geo, volume) in any context
  • Configuring axes (labels, limits, ticks, legend, font, export)
  • Adding annotations (xline, yline, xregion, text)
  • Adding or customizing data tips
  • Creating interactive plots (click, hover, drag callbacks)
  • Animating or streaming data to a chart
  • Arranging multiple axes with tiledlayout/nexttile
  • Optimizing chart rendering performance
  • Exporting figures for publication or reports
  • User says "help me visualize this" without a specific chart type

When NOT to Use This Skill

  • Building a full app (use matlab-build-app — it invokes this skill for chart sub-steps)
  • Applying dark mode, brand colors, or custom color themes (use matlab-apply-theme)
  • Working with Simulink scopes or Simscape plots
  • Creating App Designer charts via the drag-and-drop GUI

Workflow

User request arrives
        |
        +-- FAST PATH (most requests)
        |   Chart type named OR unambiguous single-axes plot
        |   AND no interactivity / animation / multi-panel / performance concern
        |       |
        |       v
        |   Infer rendering context (default: standalone figure)
        |   Read relevant references --> Build directly
        |
        +-- PLAN PATH (complex or ambiguous)
                |
                +-- Ambiguous intent (no chart type named, unclear data question)
                |       --> Identify visualization intent (see Intent Taxonomy)
                |
                +-- Rendering context unclear AND it matters
                |       --> Ask: standalone figure, Live Script, or uifigure app?
                |
                v
            Present inline plan for approval
                |
                v
            User confirms --> Read references --> Build

Fast-Path Triggers (build directly, no plan)

ALL of these must hold:

  • Chart type is named OR intent maps unambiguously to one type
  • Single axes (no tiled/multi-panel layout)
  • No custom interactivity (no user-specified callbacks)
  • No animation or streaming
  • No explicit performance constraints
  • Rendering context is clear or defaults to standalone figure

Plan-Path Triggers (present plan first)

ANY of these fires the plan path:

  • Multi-panel / tiled figure
  • Custom interactivity (click, hover, drag callbacks)
  • Animation or streaming data
  • Performance-sensitive (large dataset, real-time update)
  • Branded / designed figure requiring palette/theme coordination
  • Ambiguous "help me visualize this" — unclear type or intent
  • Multiple visualization intents in one figure

Rendering Context

Three contexts gate which constraint set applies:

ContextConstraintsHow inferred
Standalone figureUniversal rules onlyDefault; figure/axes in request
Live ScriptUniversal rules onlyUser mentions Live Script, .mlx, plain-text Live Code
uifigure appUniversal + uifigure rulesUser mentions uifigure; arrives as sub-step of app-builder

If context is unstated and cannot be inferred, assume standalone figure. Ask only when the distinction matters (e.g., heatmap parent differs between contexts).

Visualization Intent Taxonomy

Engages ONLY when the user has NOT named a specific chart type or function. If they say "scatter" or "heatmap," skip intent selection and build directly.

Communicative Intents

IntentData questionEncouraged functions
ComparisonHow do values compare across items?bar, barh, bar3, bar3h, pareto, stem, stairs, loglog, semilogx, semilogy
Trend / time seriesHow does a value change over time?plot, area, stackedplot, stairs, stem, fplot, fplot3
DistributionHow is data spread?histogram, histogram2, boxchart, violinplot, raincloudplot, swarmchart, swarmchart3, scatterhistogram, binscatter, polarhistogram
RelationshipHow do variables relate?scatter, scatter3, bubblechart, bubblechart3, plotmatrix, parallelplot, binscatter, spy, fimplicit
CompositionParts of a whole?piechart, donutchart, stacked bar, stacked area, wordcloud, bubblecloud

Data-Domain Intents

IntentWhen it firesEncouraged functions
GeospatialGeographic coordinatesgeoplot, geoscatter, geobubble, geodensityplot
Directional / polarAngular, cyclical, compass datapolarplot, polarscatter, polarhistogram, polarbubblechart, compassplot, fpolarplot
Surfaces & scalar fieldsz = f(x,y), meshes, contourssurf, surfc, surfl, mesh, meshc, meshz, ribbon, pcolor, contour, contourf, contour3, fcontour, fsurf, fmesh, fimplicit3, waterfall
Vector fields & flowDirectional vector dataquiver, quiver3, feather, streamline, streamslice, streamribbon, streamtube, streamparticles, coneplot
Volume visualization3D gridded volume dataslice, contourslice, coneplot, streamslice, isosurface/isocap workflows
Images & matricesDisplay a matrix/gridimage, imagesc, heatmap, pcolor (flat), spy

Classification Rules

  • The waterfall trap: MATLAB's waterfall is a 3D surface plot, NOT the financial accumulation chart. For "accumulation to total," build from bar with a hidden base series.
  • f* variants follow their data counterpart's intent: fplot -> Trend, fsurf/fmesh/fcontour -> Surfaces, fimplicit -> Relationship, fpolarplot -> Directional.
  • Animation is cross-cutting, not an intent. animatedline, comet, comet3 layer motion onto any chart type. See references/animation.md.
  • Multi-intent functions: Classify by the user's data question, not gallery grouping. E.g., heatmap of a correlation matrix -> Relationship; heatmap of counts -> Comparison.
  • Classify by communicative intent, not MATLAB docs grouping. piechart/donutchart are Composition regardless of where docs file them.

Inline Plan Template

When the plan path engages, present for approval:

**Chart Plan: [description]**

**Context:** [Standalone figure / Live Script / uifigure app]
**Intent:** [name] -> [chosen function(s)]

**Structure:**
- [Layout description]
- [Key visual elements, annotations, interactions]

**Key decisions:**
- [Performance strategy, if applicable]  [src: references/performance.md SS]
- [Interaction model, if applicable]  [src: references/interactive-plots.md SS]
- [uifigure constraints that apply, if context = uifigure]

**References to use:**
| Reference | Role | Provenance |
|-----------|------|------------|
| `references/file.md` | [what it provides] | [src: references/file.md SS] |

Shall I proceed?

Do NOT write the plan to a file unless (a) the user explicitly asks for a spec to keep, or (b) chart-builder is running as a sub-step of an app build with an existing plan artifact.

Critical Rules

Universal (all contexts)

  • MUST pass axes as first argument to all plotting functions: plot(ax, x, y) not plot(x, y)
  • MUST update data in place (p.XData = newX) — never replot in a loop
  • MUST use drawnow limitrate for animations — never bare drawnow in tight loops
  • PREFER tiledlayout/nexttile over subplot() for multiple axes
  • PREFER exportgraphics() for publication-quality export

Additional constraints in uifigure apps

  • MUST use uiaxes — never plain axes
  • MUST use exportgraphics() or exportapp() — saveas/print not supported
  • NEVER use subplot() — not supported in uifigure
  • NEVER use annotation() — use text(), xline(), yline(), xregion(), yregion()
  • NEVER use ginput() — use ButtonDownFcn on plot objects
  • NEVER rely on gcf/gca — uiaxes has HandleVisibility = 'off' by default

Quick Start

Standalone figure

matlab
fig = figure;
ax = axes(fig);

t = 0:0.01:2*pi;
plot(ax, t, sin(t), 'LineWidth', 1.5);
hold(ax, 'on');
plot(ax, t, cos(t), '--', 'LineWidth', 1.5);
hold(ax, 'off');

title(ax, 'Sine and Cosine');
xlabel(ax, 'Time (s)');
ylabel(ax, 'Amplitude');
legend(ax, 'sin', 'cos');
grid(ax, 'on');
exportgraphics(ax, 'plot.png', 'Resolution', 300);

In a uifigure app

matlab
fig = uifigure('Name', 'Chart Demo');
gl = uigridlayout(fig, [1 1]);
ax = uiaxes(gl);

plot(ax, t, sin(t), 'LineWidth', 1.5);
% Same API from here — only axes creation differs

Once you have ax, all plotting calls (plot, scatter, bar, xline, hold, legend, colororder, etc.) are identical regardless of context.

Implementation Checklist

Graphics

  • All plot calls pass ax as first argument
  • hold(ax, 'on') used before adding multiple series
  • Axes labels, title, and grid configured
  • Annotations use xline/yline/text (not annotation() — uifigure requirement)
  • Interactive callbacks use ButtonDownFcn on plot objects (not axes — uifigure requirement)
  • Animations use drawnow limitrate and pre-set axis limits
  • Export uses exportgraphics() (required in uifigure; preferred everywhere)
  • Multiple axes use tiledlayout/nexttile (required in uifigure; preferred everywhere)

Troubleshooting

Issues marked (uifigure only) apply only when plotting in uifigure apps.

ProblemCauseFix
Animation is slow/jerkyUsing plot() in loop or bare drawnowUpdate data in place + drawnow limitrate
Plot disappears after replotDefault NextPlot = 'replacechildren'Use hold(ax, 'on') or update data in place
gcf/gca return wrong handle (uifigure only)uiaxes HandleVisibility = 'off'Always pass ax explicitly
annotation() error (uifigure only)Not supported in uifigureUse text(), xline(), yline()
ginput() error (uifigure only)Not supported in uifigureUse ButtonDownFcn on plot objects
Click callback doesn't fire on axes (uifigure only)ButtonDownFcn unreliable on uiaxesPut ButtonDownFcn on plot objects
Heatmap fails in uiaxes (uifigure only)Heatmap needs figure/panel parentUse heatmap(fig, ...) or heatmap(panel, ...)
saveas fails (uifigure only)Not supported for uifigureUse exportgraphics(ax, file)
subplot() errors (uifigure only)Not supported in uifigureUse tiledlayout/nexttile or uigridlayout

References

TopicFileCoverageIntent served
Plot typesreferences/plot-types.mdLine, scatter, bar, histogram, heatmap, surfaceComparison, Trend, Distribution, Relationship, Surfaces (partial)
Axes configurationreferences/axes-config.mduiaxes setup, labels, limits, ticks, font, legend, exportAll intents
Annotationsreferences/annotations.mdxline, yline, xregion, text, patchAll intents (overlay)
Data tipsreferences/data-tips.mdDataTipTemplate, custom rows, programmatic tipsAll intents (overlay)
Interactive plotsreferences/interactive-plots.mdButtonDownFcn, mouse callbacks, drag, HitTest, toolbarPlan-path: interactivity
Chart palettesreferences/chart-palettes.mdcolororder, named palettes, SeriesIndex, vs colormapAll intents (styling)
Animationreferences/animation.mdUpdate in place, animatedline, streaming, performancePlan-path: animation
Multiple axesreferences/multiple-axes.mdtiledlayout, nexttile, linkaxes, peripheral tilesPlan-path: multi-panel
Performancereferences/performance.mdLazy-load, batch updates, throttle, parfeval, startupPlan-path: performance

Reference Gaps (follow-up authoring needed)

These intents have no dedicated reference file. Use built-in MATLAB API knowledge:

  • Composition — piechart, donutchart, stacked bar/area, wordcloud, bubblecloud
  • Geospatial — geoplot, geoscatter, geobubble, geodensityplot
  • Directional / polar — polarplot, polarscatter, polarhistogram, polarbubblechart, compassplot, fpolarplot
  • Vector fields & flow — quiver, quiver3, feather, streamline, streamslice, streamribbon, streamtube, streamparticles, coneplot
  • Volume visualization — slice, contourslice, coneplot, isosurface/isocap workflows
  • Images & matrices (partial) — image, imagesc not covered; heatmap in plot-types
  • Surfaces (partial) — only surf covered; mesh, contour, ribbon, pcolor pending

External Skills (invoked, not read)

  • matlab-apply-theme — when the chart needs dark mode, brand colors, or custom palettes

Copyright 2026 The MathWorks, Inc.


Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Matlab Build Chart?

Create 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.

Firwat Matlab Build Chart op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Matlab Build Chart besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Matlab Build Chart an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/matlab-app-building/matlab-build-chart an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Matlab Build Chart benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Matlab Build Chart benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Matlab Build Chart domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Matlab Build Chart gratis?

matlab huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇