필터 지우기
필터 지우기

Removing Z-Axis in 3D plot(plot3)

조회 수: 45 (최근 30일)
Elijah Tapiwa Chipato
Elijah Tapiwa Chipato 2019년 8월 31일
댓글: Star Strider 2019년 9월 1일
How do I remove the Z-axis in a 3D plot so that it looks like the one in the attched picture.

채택된 답변

Star Strider
Star Strider 2019년 8월 31일
Try this:
x = randn(1, 100); % Create Data
y = randn(1, 100); % Create Data
z = randn(1, 100); % Create Data
figure
plot3(x, y, z)
Ax = gca;
Ax.ZAxis.Visible = 'off';
Ax.ZGrid = 'off';
Ax.Color = 'none';
Use your own data.
  댓글 수: 2
Elijah Tapiwa Chipato
Elijah Tapiwa Chipato 2019년 9월 1일
thanks it works!!!
Star Strider
Star Strider 2019년 9월 1일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by