Clear Filters
Clear Filters

How to add a graph with axes in a GUI

5 views (last 30 days)
Amanda
Amanda on 4 Nov 2022
Answered: Voss on 4 Nov 2022
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

Answers (1)

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

Categories

Find more on 2-D and 3-D Plots 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!