Say I have an image which I plot in a figure
and print that figure to a .tiff file.
The original image has size [257,250]
The figure on my screen has size [562 374]
and the image axes have dimension in pixels [435.5500 304.8100]
I would like to print this figure to a tif file so that, in the tif file, the image is at its original resolution, that is that each pixel in the region of the tif file that is the image is one pixel of the original image. In the tif file I need both the image and the axes.
I think this can be done using a combination as follows
Writing this as an .m file and executing it always produces a tif file of the right pixel dimension [457 450] and sometimes with the right image. (Sometimes the image is blank and I can't work out why, but that is not my main question.)
Produces a tiff file with pixel dimension [761 750] which is not what I need.
If my image pixel dimensions are bigger than my screen size, the .tif file image is truncated.
My question is how can I make the tif file I need if my image pixel dimensions are bigger than my screen size?
[ This thread has a related question