Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Changing axes values in a GUI

1 Ansicht (letzte 30 Tage)
Caitlin Schmidt
Caitlin Schmidt am 21 Jul. 2019
Geschlossen: Rik am 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!

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by