Exporting figures from Live Script

8 次查看(过去 30 天)
FTil
FTil 2018-9-1
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
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

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by