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.

Risposte (1)

ahmed nebli
ahmed nebli il 1 Set 2018
Modificato: ahmed nebli il 1 Set 2018

0 voti

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

Categorie

Scopri di più su Printing and Saving in Centro assistenza e File Exchange

Prodotti

Release

R2018a

Richiesto:

il 1 Set 2018

Modificato:

il 1 Set 2018

Community Treasure Hunt

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

Start Hunting!

Translated by