How to batch process figures that can be drug to word document and retain their size characteristics that were set using set(gcf,'position',... ?

I am creating .bmp files using a batch process that sets the size of the figures using "set(gcf,'position',..." . When I drag the figures into a word document they do not have the appearence that they had from setting the position. All of the axis are crushed together like before the position was set. Is there a way to create figures that when pulled into a word document retain the sizing that was set by a batch script?

 Accepted Answer

Ah, our "how do I save a figure" question of the day. Please see the FAQ: <http://matlab.wikia.com/wiki/FAQ#How_do_I_save_my_figure.2C_axes.2C_or_image.3F_I.27m_having_trouble_with_the_built_in_MATLAB_functions.> export_fig() can do that. Specify whatever size you want and then import it just like any other image into Word. After that, how Word subsamples or expands it when you drag the image handles is up to Word.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!