How can I export my figures to .pdf without them changing style?

3 vues (au cours des 30 derniers jours)
egg
egg le 14 Juin 2019
I need to export 80 figures (each contains a uitable and plot) to a single pdf document. I was able to do this when my figure only contained the plot, but now that I've added a uitable next to it (I've also tried adding it under the plot), it cuts off half the table and half the plot on my pdf. I've tried different print methods such as 'bestfit' etc, yet it never works.
I can export each figure as JPEG and it looks the way I want it to, but I obviously don't want the to save every 80 image by hand to JPEG as well as then later trying to combine those JPEGs into a pdf file.
Any suggestions? I'm fairly new to matlab so I don't knmow all the terminology very well.
Each figure is created after a for loop. Once a single figure is completed (table + plot) , before my for loop ends there is a : print ('-fillpage', '-dpsc2',['DraftDoc' ], '-append', '-f'); %gcf or -bestfit

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by