Displaying multiple images separately in pubished script.
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Sean de Wolski
on 14 Oct 2013
Edited: Sean de Wolski
on 14 Oct 2013
Use snapnow or a Nested Code Section between the two subplot or plot commands to force publish to take a snapshot.
doc snapnow
0 Comments
See Also
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!