contour and contour plot 3 not working

2 次查看(过去 30 天)
am
am 2019-7-7
编辑: am 2019-7-7
Hello!
Despite all the good documentation out there, I cannot get my countour plot to work.
I want a simple contour plot for function x^2*y and levels 1 and 3.
Thank you!
[X,Y] = meshgrid(-5:0.25:5);
Z = X^2.*Y;
contour3(Z,1)
hold on
contour3(Z,3)
contour(Z)

回答(1 个)

madhan ravi
madhan ravi 2019-7-7

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by