Help with GUI and plot3 plotting

10 vues (au cours des 30 derniers jours)
Edgar Gonzalez
Edgar Gonzalez le 5 Nov 2018
Réponse apportée : Jan le 6 Nov 2018
How do I make 3d plots using a GUI? using axes(f) is only creating a 2d plot. I need to plot x, y, and z
f = figure;
myaxes = axes(f);
myaxes.Units = 'pixels';
myaxes.Position = [100 120 325 280];
I attached my code if anyone wants to take a closer look at the rest of it

Réponses (1)

Jan
Jan le 6 Nov 2018
axes does not create a "plot" at all, but only an axes object. If you draw some 3D data in it, you can set the view to 3D:
view(3)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by