Exporting figures from Live Script

12 vues (au cours des 30 derniers jours)
FTil
FTil le 1 Sep 2018
Modifié(e) : ahmed nebli le 1 Sep 2018
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.

Réponses (1)

ahmed nebli
ahmed nebli le 1 Sep 2018
Modifié(e) : ahmed nebli le 1 Sep 2018
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

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by