开发者

add scrollbar to figure with subplots

开发者 https://www.devze.com 2023-02-13 06:54 出处:网络
I have a m-file which should show about 20 images in one figure. so now I would like to know how to 开发者_开发问答add a scrollbar to the figure.

I have a m-file which should show about 20 images in one figure. so now I would like to know how to 开发者_开发问答add a scrollbar to the figure.

currently, my code is doing something like this:

    figure('Name','Results');
for a=1:20
     img_result = imread(userinput);
     %Process image; img_result
     .
     .
     .
     subplot(5,1,a);
     imshow(img_result);
end 

if i am using this code the images are getting resized to small icons. any ideas?


I believe this is what you're looking for: Scrolling Figure Demo by Evan Brooks

0

精彩评论

暂无评论...
验证码 换一张
取 消