Control print size of figure
Show older comments
Hi all.
I'm working on matlab 2013 on a Linux machine.
I'm trying to print a raster type map using the following lines
outfile=.... print ('-dpng',outfile,'-r200');
The problem is that i can not always control the size of the image. When applying it on a window environment (using Xming), whith the matlab open, it works. I can change the size of the image. When I create an executable (using the matlab compiler) it does work. I can not control the size. No matter the number (eg. -r10 or -r100 or -r300 etc) the size remains the same.
Can anyone tell me why is this happening and how to manage to control the image size when using the compiler?
Thanx!
2 Comments
Bill Rooker
on 6 Nov 2015
Similarly, I am trying to print a FIG to a Word document. I am trying to control the size of the figure that goes into Word, but I cannot find a way to do this other than manually. Since I have lots of figures, it will take time to adjust the size and it may lead to an error.
Walter Roberson
on 7 Nov 2015
Bill, which MATLAB version are you using?
Answers (0)
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!