Info

此问题已关闭。 请重新打开它进行编辑或回答。

Changing axes values in a GUI

1 次查看(过去 30 天)
Caitlin Schmidt
Caitlin Schmidt 2019-7-21
关闭: Rik 2019-7-21
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!

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by