How can I plot a 2D variable with a slider for the 3rd dimension?
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Programmatically에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
