How to add a graph with axes in a GUI

5 次查看(过去 30 天)
Amanda
Amanda 2022-11-4
回答: Voss 2022-11-4
Im trying to add a graph with axes from 1 to 1 into a GUI. The GUI has three buttons at the bottom and i need to add the graph above it. I tried using uifigure but it doesnt quite work. im not sure if that is what i am suppose to be using to get this but below is what I have so far.
The graph with the axes needs to be above these three buttons in the figure

回答(1 个)

Voss
Voss 2022-11-4
my_axes = axes('Units','normalized','Position',[0.05 0.3 0.9 0.65]);

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by