Is there a way to control two subplots with one slider?
Afficher commentaires plus anciens
Can anyone demonstrate a way to update both subplots with one uicontrol slider?
In my case I have two matlab arrays with size (1024,128,20). I want to imshow 2d images of size 1024 x 128 for each of the third dimension using a slider and only one slider updating both subplots.
Thanks in advance
2 commentaires
Geoff Hayes
le 1 Juin 2022
@Derrell Dsouza - did you create your GUI programmatically, using App Designer or using GUIDE? Have you created a callback for your slider? You should be able to update both subplots from within that callback. Please provide a sample of code that shows what you have attempted.
Derrell Dsouza
le 1 Juin 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Subplots 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!