Displaying multiple images separately in pubished script.
显示 更早的评论
If I type this:
% Show both images
figure,imshow(a)
figure,imshow(b)
it only displays one of the images when I publish/run the script. The same thing happens if I try two sets of subplots straight after each other also.
回答(1 个)
Sean de Wolski
2013-10-14
编辑:Sean de Wolski
2013-10-14
Use snapnow or a Nested Code Section between the two subplot or plot commands to force publish to take a snapshot.
doc snapnow
类别
在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!