contour and contour plot 3 not working
Show older comments
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)
3 Comments
darova
on 7 Jul 2019
Guess where you forgot the point '.'
KALYAN ACHARJYA
on 7 Jul 2019
@darova yes
Answers (1)
madhan ravi
on 7 Jul 2019
.^
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!