Filter löschen
Filter löschen

Removing Z-Axis in 3D plot(plot3)

45 Ansichten (letzte 30 Tage)
Elijah Tapiwa Chipato
Elijah Tapiwa Chipato am 31 Aug. 2019
Kommentiert: Star Strider am 1 Sep. 2019
How do I remove the Z-axis in a 3D plot so that it looks like the one in the attched picture.

Akzeptierte Antwort

Star Strider
Star Strider am 31 Aug. 2019
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 Kommentare
Elijah Tapiwa Chipato
Elijah Tapiwa Chipato am 1 Sep. 2019
thanks it works!!!
Star Strider
Star Strider am 1 Sep. 2019
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by