Help with GUI and plot3 plotting

3 次查看(过去 30 天)
Edgar Gonzalez
Edgar Gonzalez 2018-11-5
回答: Jan 2018-11-6
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

回答(1 个)

Jan
Jan 2018-11-6
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)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by