|
get_xyz.m.html |
|
|
Source file: get_xyz.m
|
|
Directory: /home/rjl/git/claworg/clawpack-4.x/matlab
|
|
Converted: Sat Aug 6 2011 at 21:53:04
using clawcode2html
|
|
This documentation file will
not reflect any later changes in the source file.
|
function varargout = get_xyz(varargin);
% Internal matlab routine for Clawpack graphics.
sdir = varargin{4};
idir = findstr(lower(sdir),'xyz');
if (idir == 1)
iperm_rev = [1;2;3];
elseif (idir == 2)
iperm_rev = [3;1;2];
else
iperm_rev = [2;3;1];
end;
for i = 1:nargout,
varargout{i} = varargin{iperm_rev(i)};
end;