I wasted a lot of brain cells stressing out aobut this one. A .emf is an enhanced metafile, typically used for storing vector graphics in Windows. In Matlab, PaperPosition sets the size of both printouts and exported graphics. Here's what I was trying to do:
set(gcf,'PaperPosition',[0 0 6 3]);On my old slow computer, this produces a 6" by 3" graphic. On the new fast computer it produces a graphic similar in size to the on-screen figure and completely ignores PaperPosition. When exporting.png, .gif or .jpg, there was no problem. I could not figure out how to reconcile the difference. I ended up having to use the fast computer for numerical work and then the slow computer to print the charts.
This worked well until I had to produce a very graphic insensive chart. The slow computer choked... and I had a draft due. Not a pretty scene. So, how do we fix this? I found the solution by accident, it is under File, Preferences, Figure Copy Template. then Copy Options. There you will see:
Match figure screen size should be unchecked. On my new computer it was checked. After unchecking, PaperPosition should work for .emfs.Posted by torque at April 8, 2005 1:46 PM | TrackBack