Functions | |
newplot () | |
unwind_protect_cleanup | axes (oldh) |
end_unwind_protect | if (nargout > 0) c |
!contourf (x, y, z,-7:9)%!demo%![theta | |
Variables | |
function [c, h] | |
oldh = gca () | |
unwind_protect | axes (xh) |
h = htmp | |
endif endfunction | !demo [x, y, z] = peaks (50) |
r = meshgrid (linspace (0, 2*pi, 64), linspace(0,1,64)) | |
!Z = pol2cart (theta, r) sin(2*theta).*(1-r) |
!contourf | ( | x | , | |
y | , | |||
z | , | |||
-7:9 | ||||
) |
end_unwind_protect if | ( | nargout | , | |
0 | ||||
) |
newplot | ( | ) |
endif endfunction !demo[x, y, z] = peaks (50) |
unwind_protect axes(xh) |
function[c, h] |
h = htmp |
oldh = gca () |
r = meshgrid (linspace (0, 2*pi, 64), linspace(0,1,64)) |