请问一下为什么显示ZData 为非有限时,无法显示等高线 ,怎么解决,
이전 댓글 표시
A=100;
[h,x]=meshgrid(linspace(1,10,50),linspace(1,2,50));
c=(A-h^2*cot(x))/h;
p=c+(2*h/sin(x));
subplot(1,2,1);
z=contour(h,x,p,600,'k');
subplot(1,2,2);
surfc(h,x,p);
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!