Prev: append data in uitable
Next: npermutek
From: Fredrik on 22 Apr 2010 15:27 Hi, I'm starting to get very frustrated about the print tools in Matlab. To illustrate my problem, I have the following code I = rand(200,250,3); imshow(I); set(gcf,'PaperUnits','points'); set(gcf,'PaperSize',[250 200]); print(gcf,'test.pdf','-dpdf'); i.e. I plot something with imshow, set the paper size to be 250 x 200 points and then print to 'test.pdf'. When I check the pdf in Acrobat Reader the size is 70.6 x 70.6 mm corresponding to 200 x 200 points. Why is the paper size set to 200 x 200 instead of 250 x 200 as I have specified? If I fiddle around with the specified paper size, sometimes I get the correct size and sometimes I don't. Any help is most welcome! Regards, Fredrik
|
Pages: 1 Prev: append data in uitable Next: npermutek |