contour and contour plot 3 not working

3 Ansichten (letzte 30 Tage)
am
am am 7 Jul. 2019
Bearbeitet: am am 7 Jul. 2019
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 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 7 Jul. 2019
@darova yes
am
am am 7 Jul. 2019
Bearbeitet: am am 7 Jul. 2019
Thank you, you are angels! How do I accept your answer?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

madhan ravi
madhan ravi am 7 Jul. 2019

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by