add scrollbar to figure with subplots

↘锁芯ラ 提交于 2019-12-20 03:47:11

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/5122716/add-scrollbar-to-figure-with-subplots

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!