Functions | |
if (needusage) print_usage() | |
endif | if (nargout > 0) retval |
!ezmesh (f,[-3, 3]) | |
!ezmesh (fx, fy, fz,[-pi, pi,-pi/2, pi/2], 20) | |
Variables | |
function | retval |
endif endfunction!demo | !f = @(x,y) sqrt(abs(x .* y)) ./ (1 + x.^2 + y.^2) |
!demo | !fx = @(s,t) cos (s) .* cos(t) |
!fy = @(s,t) sin (s) .* cos(t) | |
!fz = @(s,t) sin (t) |
!ezmesh | ( | fx | , | |
fy | , | |||
fz | , | |||
20 | ||||
) |
!ezmesh | ( | f | ) |
endif if | ( | nargout | , | |
0 | ||||
) |
if | ( | needusage | ) |
endif endfunction !demo !f = @(x,y) sqrt(abs(x .* y)) ./ (1 + x.^2 + y.^2) |
!demo !fx = @(s,t) cos (s) .* cos(t) |
!fy = @(s,t) sin (s) .* cos(t) |
!fz = @(s,t) sin (t) |