MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

Capturing a spinmap display as frames for a movie or video

1 view (last 30 days)
Stuart Smith
Stuart Smith on 20 May 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
The function below makes a nice display of colors when the selected color map is rotated. Is there a way to capture the display as a set of individual images that can be % made into frames of a movie or video?
function spinpic( file )
x = imread( file ) ;
y = rgb2gray( x ) ;
colormap jet
imshow( y ) ;
spinmap( 10 , 1 ) ; % <- can I capture this as movie frames?
end

Answers (0)

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!