MATLAB Answers

Where is surf() result?

1 view (last 30 days)
Valeri Aronov
Valeri Aronov on 14 Mar 2021
Edited: Valeri Aronov on 14 Mar 2021
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 Comments
Matt J
Matt J on 14 Mar 2021
No, the semicolon should have made absolutely no difference ...

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by