I'm using false-color visualizations for some HDR images in MATLAB, but with large images I find that the colorbar labels get cut off.
In the MWE below, colorbar labels (and I think some of the colorbar too) have been cut off when I print to PDF for inclusion in LaTeX. I've uploaded the output I'm getting here.
Can anyone suggest a fix? Thanks.
h=2304; w=3072; y=(1:1:2304)'; x=1:1:3072; z=y*x; figure(); imshow(z,); colormap(jet); colorbar; print(gcf, 'test.pdf', '-dpdf');