Can an edit text box's entries be limited to the range of an axis?
Ältere Kommentare anzeigen
Within a GUI I have an graph that shows the distribution of different heights at different points on an image. I have a program to plot a line that best fits this graph. There is an edit text box that allows users to estimate the leftmost point on the graph, and I would like to limit entries in this edit text box to the range of values on the graph's x axis. For instance, if the graph's x values go from -5 to -1, I want an error message to appear if a user inserts a value less than -5 or greater than -1. Is there any way to do this? Thank you in advanced for any help.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!