Saving a table as PDF, - how can I rotate it 90 degrees

32 views (last 30 days)
Hello, I want to save a big table() which has like 20 columns. Therefore it would be nice to rotate the PDF paper 90 degrees.
When I save I use this
and Matlab give me a size warning. Is there any way to rotate it?
Martin on 27 Aug 2019
Hi, thanks for turning back even though I was a bit unclear...
Yes the table exist as a variable, but I plot it inside a figure. When the figure "pops up" I am saving it as PDF

Sign in to comment.

Accepted Answer

Adam Danz
Adam Danz on 27 Aug 2019
Edited: Adam Danz on 27 Aug 2019
If the table is saved as a variable, rather than saving a figure that shows the table, save the table itself to a text file. You can do that using writetable().
There are several benefits to saving the table to a text file rather than to a figure. The text file is readable if you ever need to read the table back into matlab. A figure will pixelate the text since the text is converted to an image.
If you'd rather save the figure to pdf, to rotate it, use orient().

Sign in to comment.

More Answers (0)


Find more on Tables in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by