Code covered by the BSD License
-
currentplotis(test);
currentplotis Test if current plot pane is at a special location (e.g. row end, etc)
-
getparam(param, paramlist, n,...
getparam Get values for a parameter in a parameter list
-
isparam(param, paramlist)
isparam Check parameter list to see if given parameter was specified
-
nextfig=nextplot(varargin)
NEXTPLOT Advance to next plotting pane in figure set up with JISUBPLOT.
-
ret=jisubplot(rows,columns,pa...
JISUBPLOT Set up a figure for multi-pane plotting. Used with NEXTPLOT.
-
strmatch_mixed(str, strs, var...
strmatch_mixed Like strmatch, but fixes a shortcoming:
-
jisubplotdemo.m
-
View all files
|
|
| isparam(param, paramlist)
|
function [flag, idxout] = isparam(param, paramlist)
% isparam Check parameter list to see if given parameter was specified
%
% flag = isparam(param, paramlist)
%
% returns true if param is found in paramlist (a cell array), false otherwise
%
% [flag, idxout] = isparam(param, paramlist)
%
% same, but also returns index in paramlist where param was found
%
% See also GETPARAM, STRMATCH_MIXED.
%
%
% jri 10/18/02
%
% Free for all uses, but please retain the following:
% Original Author: John Iversen
% john_iversen@post.harvard.edu
idx = strmatch_mixed(param, paramlist, 'exact', 'lower');
flag = ~isempty(idx);
if nargout == 2,
idxout = idx;
end
|
|
Contact us at files@mathworks.com