print a figure into PDF
47 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I want to print a matlab .fig into .pdf, but only the center part of the figure is shown on the .pdf file. Do you know how to solve this?
Thanks!
2 Commenti
Jan
il 2 Ago 2011
Please explain, which method you are using for printing: PRINT, the print-menu, saveas or a PDF printer driver?
Risposta accettata
Jan
il 14 Set 2011
I guess, that you have a fixed PaperPosition, which is outside the visible range. Try this:
figure('PaperPositionMode', 'auto');
plot(rand(10));
print(gcf, '-dpdf', 'test.pdf');
You can set the PaperPosition in the Print-GUI also.
Più risposte (1)
Sreeram Mohan
il 14 Set 2011
Have u tried out the file submission here ?
Seems like there is a programmatic way of achieving this
Thanks, Sreeram
0 Commenti
Vedere anche
Categorie
Scopri di più su Specifying Target for Graphics Output in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!