帮指出下列程序的问题所在
下列两图形的问题出在哪里?
(一)syms x y
t=dsolve('x*Dy-(Dy)^2-y','x');
ezplot(t(1),[-6,6,-4,8],1);
cc=get(gca,'Children');
set(cc,'color','r','linewidth',4);
i=0;
for k=-2:0.5:2
i=i+1;
subplot(3,3,i);
ezplot(subs(t(2),'C1',k),[-6,6,-4,8],2);
title('results of equations');
end
(二)syms x y
t=dsolve('x*Dy-(Dy)^2-y','x');
cc=get(gca,'Children');
set(cc,'color','r','linewidth',4);
i=0;
for k=-2:0.5:2
i=i+1;
subplot(3,3,i);
ezplot(subs(t(2),'C1',k),[-6,6,-4,8],1);
title('results of equations');
end
ezplot(t(1),[-6,6,-4,8],2);
|