subplotrc

バージョン 1.0.0.0 (355 Bytes) 作成者: Andrew Diamond
extension of subplot, subplotrc(m,n,r,c) put suplot in row r, column c of figure.
ダウンロード: 1K
更新 2006/6/2

ライセンスがありません

A totally trivial function that I keep on rewriting in line over and over again. Must be somewhere I'm missing or I'm missing something. Here it is in it's "glorious" entirety (-;
---------
function h=subplotrc(varargin)
% function h=subplotrc(varargin) - extension of subplot
% subplotrc(m,n,r,c) put suplot in row r, column c of figure;
% all other forms passed through to subplot without alteration
if(length(varargin)==4 && all(cellfun(@isnumeric,varargin)))
p=sub2ind([varargin{2},varargin{1}],varargin{4},varargin{3});
h=subplot(varargin{1},varargin{2},p);
else
h=subplot(varargin{:})
end
if(nargout == 0)
clear h;
end

引用

Andrew Diamond (2026). subplotrc (https://jp.mathworks.com/matlabcentral/fileexchange/11272-subplotrc), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSubplots についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0