📄 cir.m
字号:
function h=cir(r,x,y)
%
% CIR is a function that draw a cirkel on the screen.
% X and Y are the cordinate of tthe cirkel and r is the radius.
% Authors: Dingyu XUE, The University of Sussex
% Ole Barup Sorensen, Rapid Data Ltd
% Copyright (c) 1989-94 by Rapid Data Ltd
% Revision 10:36 07/02/94
w=0:0.1:2*pi;
x1=r*cos(w);
y1=r*1.5*sin(w);
h=line(x+x1,y+y1);
set(h,'Color','w','LineWidth', 2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -