Can't see the plot even in the documentation example:
[X,Y] = meshgrid(-2:.2:2);
Z = X .* exp(-X.^2 - Y.^2);
Then, create a surface plot.
surf(X,Y,Z)

3 Kommentare

Matt J
Matt J am 14 Mär. 2021
It should work. Maybe type
>> shg
to bring it to the front of the desktop?
Valeri Aronov
Valeri Aronov am 14 Mär. 2021
Bearbeitet: Valeri Aronov am 14 Mär. 2021
Oops. I can see it now after adding ; to the end of the the line with surf command ;-)
Thanks, Matt. Your suggestion works as well.
Matt J
Matt J am 14 Mär. 2021
No, the semicolon should have made absolutely no difference ...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Surfaces, Volumes, and Polygons finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 14 Mär. 2021

Bearbeitet:

am 14 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by