- /
-
cheers matlab
on 23 Oct 2021
- 4
- 30
- 0
- 0
- 260
t=linspace(0,2*pi);t(8:44)=[];
x=3*cos(t);
y=10*sin(t);
yh=linspace(min(y)+0.1,-20);
xh=zeros(size(yh));
figure('color','w')
patch(x,y,'w')
hold on
patch(x(y<0),y(y<0),[1 0 0],'EdgeColor','none')
patch([0 -2 2],[-19.5 -20.5 -20.5],'b')
plot(xh,yh,'b','LineW',5)
axis equal off