How can I output an array (with column, row headers) as an image?
Show older comments
This is a very basic question, but one I can't seem to figure out on my own.
I have a 5x6 array of data that I'd like to output as a table. I would like this table to be in the form of an an image file, I.e. a pdf, png etc. with row names, column names, and my data in the table. I don't want to output this as a text file, because I want to output this as a figure to be placed in a paper.
It may seem like this is something that I should simply enter manually into a table in Word (or similar), but the particular data changes frequently, and I'd like this process to be automated.
I found this helpful file: http://www.mathworks.com/matlabcentral/fileexchange/33815-printing-a-formatted-table
But I can't seem to save this as a PDF (perhaps I'm simply doing something wrong), and the program seems to be written for LaTex, which I do not use.
Any help appreciated. Best, Jonathan
Accepted Answer
More Answers (1)
Jan
on 6 Aug 2013
0 votes
Installing LaTeX would be a good idea, when you want to create nice tables to be included in a PDF. LaTeX is free, powerful and state-of-the-art for nicely rendered text.
Categories
Find more on Printing and Saving 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!