Saving a table as PDF, - how can I rotate it 90 degrees
6 views (last 30 days)
Show older comments
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
saveas(gcf,'summary','pdf')
and Matlab give me a size warning. Is there any way to rotate it?
2 Comments
Adam Danz
on 27 Aug 2019
Are you saving a table, a figure, or a figure that contains a table?
Does the table exist as a variable?
Accepted Answer
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.
4 Comments
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!