How to plot a matrix over time on a 2D or 3D graph
Show older comments
I have an 11x14 matrix of variables P that change over the course of 60 timesteps. I currently have P_overtime(:,:,n) = P. Where P_overtime(:,:,1) decreases to P_overtime(:,:,2) and continues to decrease until 60. How can I show this progression in a graph of some sort? Maybe some sort of animation? At the very least I'd like to show the first, 15th, 30th, and 60th timestep. Thanks for any help!
Accepted Answer
More Answers (1)
KSSV
on 22 Jun 2016
0 votes
You can limit the yaxis using ylim([ymin ymax]).
Categories
Find more on Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!