plots.m, plotses.m

Plots each column of a matriz vs a single axis. Improvement of plotyyy.
ダウンロード: 4.8K
更新 2016/5/4

ライセンスの表示

Example:
x = [-10:0.1:10]';
Y = [x x.^2 x.^3 cos(x)];
location = 'top';
labels = ['x-axis '
'y=x '
'y=x^2 '
'y=x^3 '
'y=cos(x)'];
[hlines,haxes]=plots(x,Y,location,labels);

Plots the columns of the matrix Y versus the vector column x, using different axes at the top of the figure, with the specified axes-labels.

The location of the axes can be 'left' (default), 'right', 'top' or 'bottom'.

PLOTSES.M its the almost the same but with the axes moved from the fixed axis (useful?).

Both M-files come with the colored example of the screenshot.

引用

Carlos Adrian Vargas Aguilera (2026). plots.m, plotses.m (https://jp.mathworks.com/matlabcentral/fileexchange/10242-plots-m-plotses-m), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersTwo y-axis についてさらに検索
謝辞

ヒントを得たファイル: plotyyy

ヒントを与えたファイル: addaxes.m v1.1 (Sep 2009), ecopath_matlab: A Matlab implementation of Ecopath, xunits, yunits and zunits.m (Jul 2014)

バージョン 公開済み リリース ノート
1.0.0.0

English translation from spanish. Little changes on the submit and screenshot.
BSD License