Removing Z-Axis in 3D plot(plot3)

45 次查看(过去 30 天)
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.

更多回答(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