添加滚动条到带有子图的图形
我有一个 m 文件,应该在一张图中显示大约 20 个图像。所以现在我想知道如何向图中添加滚动条。
目前,我的代码正在执行类似的操作:
figure('Name','Results');
for a=1:20
img_result = imread(userinput);
%Process image; img_result
.
.
.
subplot(5,1,a);
imshow(img_result);
end
如果我使用此代码,图像将调整为小图标。有什么想法吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信这就是您正在寻找的:滚动图形演示 作者:埃文·布鲁克斯
I believe this is what you're looking for: Scrolling Figure Demo by Evan Brooks