Animating imagesc plots
Ältere Kommentare anzeigen
I'm trying to animate an imagesc plot using refreshdata, but with these plots, there is no 'CDataSource' property with which I can link the data I would like to change and the new values. Is there a way to link data sources in imagesc plots? I know that there is a 'CData' property but this doesn't seem to work (at least in the way I've tried).
I currently have an array, plot it using imagesc, and under the hold condition, include a for loop which includes the varying data as well as the refreshdata, pause and drawnow commands.
This is just meant to be a simple animation displaying a simple concept, so as long as I can just update this data that is fine. Any other method ideas for animating arrays would be greatly appreciated.
*Note: I have used the refreshdata method for animating plots in the past, only it was using the plot command (not imagesc) and I was using 2 data sources.
Antworten (1)
Jan
am 10 Jun. 2011
1 Stimme
I suggest to ask Google for "animate Matlab CData".
Kategorien
Mehr zu Animation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!