MATLAB Answers

Issue with 3d plots

4 views (last 30 days)
Suvarna Nemani
Suvarna Nemani on 13 Feb 2020
Answered: Walter Roberson on 13 Feb 2020
Hi, I have a issue with mesh and surface commands.
I'm not getting 3d plots, instead of that only 2d plots are coming

  0 Comments

Sign in to comment.

Answers (2)

Star Strider
Star Strider on 13 Feb 2020
Use the view function to change the axes orientation with respect to the ‘camera’. If the mesh or surf exists in 3D., that should show it, or iif it is actually a plane, at least help you find the problem.

  0 Comments

Sign in to comment.


Walter Roberson
Walter Roberson on 13 Feb 2020
That can happen if you called hold on before generating the 3D plot. When you call hold on, the view() gets frozen unless you change it later.
view(3)
resets to the default 3D view.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags


Translated by