Help with GUI and plot3 plotting

2 views (last 30 days)
Edgar Gonzalez
Edgar Gonzalez on 5 Nov 2018
Answered: Jan on 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

Answers (1)

Jan
Jan on 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)

Categories

Find more on Two y-axis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!