Matrix plotting

バージョン 1.0.0.0 (4.42 KB) 作成者: Sky Sartorius
Plot using single 2 x n (or 3 x n) matrices as inputs instead of x, y, (and z) vectors.
ダウンロード: 103
更新 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 Center および MATLAB AnswersVisual 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 リポジトリにアクセスしてください。