Matrix plotting

Plot using single 2 x n (or 3 x n) matrices as inputs instead of x, y, (and z) vectors.
103 download
Aggiornato 16 mag 2021

plotm was created so you can stop doing things like this:
plot(M(1,:),M(2,:)) or plot3(M(1,:),M(2,:),M(3,:)).
and start doing things like this:
plotm(M)

plotm works by separating any matrix with two or more rows into vectors. The vectors are passed to plot for 2 x n and to plot3 for 3 x n. If no inputs have multiple rows, plotm calls plot.

Scalars and row vectors (including handles, Name/Value pairs, LineSpecs, etc.) are preserved and passed to the plotting functions. For example, plotm(M1,'or',M2,'xb').

The equivalent function for line, linem, is also included.

Cita come

Sky Sartorius (2024). Matrix plotting (https://github.com/sky-s/matrix-plotting), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Visual Exploration in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate

Versione Pubblicato Note della release
1.0.0.0

description update

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.