How can I add matlab figure to existing pdf file?

8 views (last 30 days)
babita verma
babita verma on 12 Sep 2017
Commented: tousif patwegar on 25 Apr 2019
Hi, I was collating few matlab figures to one pdf using export_fig.Is it possible to add a matlab figure to a specific page of the existing pdf? I know append can be used to add figure to existing pdf file but the problem is every time i mess up with the sequence (of figures ) I have to redo all the figures (in one pdf) again. So was wondering if a matlab figure can be added to a specific page of the existing pdf file.
  1 Comment
tousif patwegar
tousif patwegar on 25 Apr 2019
how you created one pdf of few matlab figures?
i am stuck i ghostscript and all.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 12 Sep 2017
Why not save the individual figures into a directory, and then have a routine that reads them in and adds them to a pdf? That way if you have to recreate one of the figures, you do not need to regenerate the other figures, just the PDF.
  1 Comment
babita verma
babita verma on 16 Sep 2017
Actaully I have many cases and so saving figures might rather lead to confusion later. so I would'nt prefer to save figures but just the mat files of relevant variables for each case. I can draw figures for specific cases from these mat files.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!