Can an edit text box's entries be limited to the range of an axis?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Title en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!