Borrar filtros
Borrar filtros

Interactive replot when variable changes

6 visualizaciones (últimos 30 días)
Bremenpl
Bremenpl el 4 de Oct. de 2016
Respondida: Bremenpl el 4 de Oct. de 2016
Hello there, Some time a go I have seen a Matlab video where it was shown that in the software there a was a plot- this plot depended on some data. When the person changed the data using up-down object, the plot interactivelly changed. How to achieve this effect? I need to see how the plottable changes when I modify the variables. For now I change the variable and rerun the script. Is it possible? I would appreciate all help.

Respuestas (2)

Joe Yeh
Joe Yeh el 4 de Oct. de 2016
This is where a GUI program can help you. GUI program is event-driven and can listen and respond to a user's action.
Conceptually, you'll create a GUI with a plot and a uicontrol (for example a drop-down menu or a slidebar). The callback of the uicontrol will effect change on the plot.
You can find explanation along with example in this documentation page .

Bremenpl
Bremenpl el 4 de Oct. de 2016
But cant this be done without gui? Ive seen in that video that there was no gui involved. I dont need any advanced application, I just need a fast solution, can be dirty, but fast.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by