让被遮挡部分虚线表示
t=0:0.01:2*pi
x=cos(t)'
y=sin(t)'
z=zeros(size(t,2),1)
figure
as1=axes
p1=patch([x,x],[y,z],[z,y],'w')
axis image off
as2=axes
pp1=copyobj(p1,as2)
pp1.LineStyle=":"
pp1.FaceColor='None'
linkprop([as1 as2], 'View'), view(3), axis image off, rotate3d on
view(0,10)