Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Changing axes values in a GUI

1 vue (au cours des 30 derniers jours)
Caitlin Schmidt
Caitlin Schmidt le 21 Juil 2019
Clôturé : Rik le 21 Juil 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!

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by