Save fig with both imshow and plot components

2 ビュー (過去 30 日間)
Michael
Michael 2014 年 3 月 6 日
回答済み: Image Analyst 2014 年 3 月 6 日
I have a script
x = figure;
imshow(image1); hold on;
plot(1:256); hold on; % Scaled to match image size
drawnow;
saveas(x, 'C:\ImagesFromAnalysis\fig9F.eps','epsc');
I get both the image and plot as I want them on the screen, but only the image displayed within the eps file.
At the moment, I can get by cutting and pasting a screen shot into the draft document, but will need the actually eps file later.
Thanks

回答 (1 件)

Image Analyst
Image Analyst 2014 年 3 月 6 日

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by