I'd like to put many matlab fugures into a single .pdf file.
I thought an idea could be to make a loop to save all figures to image files by using imwrite and then use fwrite.
The prblem is that imwrite wants either a M-by-N (greyscale) or a
M-by-N-by-3 (truecolor) matrix to save the figure and I don't know I to reduce the matlabfigure I get to such a matrix. I tried with get, but I can only get the colormap as a useful information. No way I can save the figure to a single matrix.
Anyone could help?
0 · ·