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
Sean de Wolski 2013 年 10 月 14 日
編集済み: Sean de Wolski 2013 年 10 月 14 日

0 投票

Use snapnow or a Nested Code Section between the two subplot or plot commands to force publish to take a snapshot.
doc snapnow

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

タグ

質問済み:

Sun
2013 年 10 月 13 日

編集済み:

2013 年 10 月 14 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by