polarsurf.m
来自「hi i have a huge collection are you int」· M 代码 · 共 23 行
M
23 行
function h = polarsurf(r,theta,z,c)%SURF 3-D polar surf surface.% POLARSURF(R,THETA,Z) Produces a surf plot of Z as a function of R and% THETA.%% Example:% % [r,theta] = surfgrid(0.5:.5:10,0:pi/20:2*pi);% z = sin(r)./r;% polarsurf(r,theta,z)%% See SURF for usage.% Andrew Knight, 1993x = r.*cos(theta);y = r.*sin(theta);hh = surf(x,y,z);if nargout==1 h = hh;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?