Wrong page orientation in Matlab PDF figures

Sometimes Matlab exports figures as PDFs with the graph overflowing from the page. This can be fixed by using the orient landscape or orient portrait commands. Exporting to PDF from the command line can be done with print('-f1', '-dpdf', 'my-plot.pdf');.

This entry was posted on Monday, June 2nd, 2008 at 10:05:15 Europe/London and is filed under Matlab. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply