Matrix plotting

版本 1.0.0.0 (4.4 KB) 作者: Sky Sartorius
Plot using single 2 x n (or 3 x n) matrices as inputs instead of x, y, (and z) vectors.
103.0 次下载
更新时间 2021/5/16

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.

引用格式

Sky Sartorius (2024). Matrix plotting (https://github.com/sky-s/matrix-plotting), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Visual Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

description update

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库