Info

This question is closed. Reopen it to edit or answer.

Changing axes values in a GUI

1 view (last 30 days)
Caitlin Schmidt
Caitlin Schmidt on 21 Jul 2019
Closed: Rik on 21 Jul 2019
Write a GUI function to plot any user entered 1D function as shown below. User uses the edit text box to enter a function, then hits the enter key to plot it in the axes window.
Then add two “edit box” controls to change the range of the x-axis.
The minimal x has an initial value of 0; whereas the maximal x has an initial value of 100.
Change their values and enter the return key will update the plot with new axis limit.
I have the GUI written, and I am able to plot the function, but I am having an issue with being able to change the x-axes values with the two edit text boxes. Any help is appreciated!

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!