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.
MATLAB Code:
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');

test.pdfand also add a MWE example of your.texfile to show how you include the PDF into your document? – Jake May 18 '11 at 14:13set(gcf,'PaperPositionMode','Auto','PaperType','a4')before you print the image. – Jake May 18 '11 at 17:37