How can I plot a 2D variable with a slider for the 3rd dimension?
Afficher commentaires plus anciens
Hi!
I have a 32x1x120 variable (so I have 32 values in 120 instants of time), and I would like to plot the 32 values for time = 1, for time = 2, and eventually for time = 120. To not make 120 plots, I thought I could make a slider for the time dimension so that I could use one figure and slide through time for the 32 values, but I'm totally uncertain as to how to proceed.
So I would like something like this but with a slider for time below:

Thanks so much in advance.
Kind regards,
Guillem
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Develop Apps Programmatically dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
