将滚动条添加到带有子图的图形中 [英] add scrollbar to figure with subplots
本文介绍了将滚动条添加到带有子图的图形中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个m文件,一个文件应显示约20张图像.所以现在我想知道如何在图形上添加滚动条.
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?
推荐答案
我相信这就是您要查找的内容: Evan Brooks
I believe this is what you're looking for: Scrolling Figure Demo by Evan Brooks
这篇关于将滚动条添加到带有子图的图形中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文