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 日

0 投票

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 件)

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by