saving graphs to pdf

1 view (last 30 days)
Abbey Kirkman
Abbey Kirkman on 19 Feb 2021
Commented: Jan on 20 Feb 2021
hi all
i have found this example of how to export figures into pdf
my code currently is plotting graphs from a for loop can anyone help in addapting the above code so it can be used in a for loop and add new figure to the pdf each loop or something along those lines.
  8 Comments
Abbey Kirkman
Abbey Kirkman on 20 Feb 2021
Thank you. I have tried subplot I just find that the figures come out two small is there a way to make them bigger ?
Jan
Jan on 20 Feb 2021
What exactly is too small: Too much space between the axes or the too much space between the axes anbd the border? Maybe setting the 'PaperPosition' of the figure solves your problem, or one of these FileExchange submissions:

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!