?? polar2.m
字號:
function h1=polar2(a)
% The function POLAR2 creates polar coordinates in a new figure
% with 0 degrees located at the 12 o'clock position and
% degrees increasing clockwise.
% Non MATLAB Library routine called is: POLARS.
%
% Calling sequence-
% polar2(a)
%
% Input-
% a - the radius
% Output-
% h1 - the handle of the figure
%
% Example-
% (1) do first: h=econtour(x,x,matrix);
% you can then find an appropriate radius.
% (2) do: polar2(r);
% (3) do again: h=econtour(x,x,matrix);
% (4) do: eclabel(h,'fontsize',6); hold off;
% See also-
% RO2XY.cpp, ECONTOUR, ECLABEL.
d=linspace(0,2*pi,200)';
r=a*ones(200,1);
polars(d,r,'w');
h=get(gca,'children');
set(h(1),'linewidth',1.);
n=length(h);
for i=14:19,
set(h(i),'linestyle',':','linewidth',.5);
end
for i=21:2:n,
set(h(i),'linestyle',':','linewidth',.5);
end
hold on
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -