Exporting figures from Live Script

I would like to export all the figures contained within a Live Script at once for use in a talk or paper, ideally programmatically (e.g. a command in the last line of the Live Script), and ideally to pdf with one figure per file. I have tried Save->Export to latex from the Live Editor but the saved eps files are actually bitmaps and the resolution is way to low for use even in a talk.
If this is not possible, if there was a way to print programmatically specific figures (or the last generated) in a Live Script, I could just add the respective line after each figure and export as a I am generating them.

回答 (1 件)

ahmed nebli
ahmed nebli 2018 年 9 月 1 日
編集済み: ahmed nebli 2018 年 9 月 1 日

0 投票

i haven't tried it before but you may take a look on these links it may help:
https://www.mathworks.com/help/matlab/matlab_prog/modify-output-figures.html
https://www.mathworks.com/matlabcentral/answers/307121-how-to-force-an-external-figure-in-live-scripts

カテゴリ

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

製品

リリース

R2018a

質問済み:

2018 年 9 月 1 日

編集済み:

2018 年 9 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by