Issue with 3d plots

조회 수: 45 (최근 30일)
Suvarna Nemani
Suvarna Nemani 2020년 2월 13일
답변: Walter Roberson 2020년 2월 13일
Hi, I have a issue with mesh and surface commands.
I'm not getting 3d plots, instead of that only 2d plots are coming

답변 (2개)

Star Strider
Star Strider 2020년 2월 13일
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.

Walter Roberson
Walter Roberson 2020년 2월 13일
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.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by