Functions | |
if (nargin< 2) print_usage() | |
newplot () | |
unwind_protect_cleanup | axes (oldh) |
end_unwind_protect endif | if (nargout > 0) retval |
!scatter (x, y,[], sqrt(x.^2+y.^2)) | |
Variables | |
function | retval |
else | oldh = gca () |
unwind_protect | axes (h) |
tmp = __scatter__ (h, 2, "scatter", varargin{:}) | |
endif endfunction!demo | !x = randn (100, 1) |
!y = randn (100, 1) |
!scatter | ( | x | , | |
y | , | |||
sqrt(x.^2+y.^2) | ||||
) |
end_unwind_protect endif if | ( | nargout | , | |
0 | ||||
) |
if | ( | ) |
newplot | ( | ) |
endif endfunction !demo !x = randn (100, 1) |
!y = randn (100, 1) |
function retval |
tmp = __scatter__ (h, 2, "scatter", varargin{:}) |