- monospaced   first select the text then click the [Aa]-button. (Now, I've done it for you and someone removed it.)
- Your question is a good one. Unfortunately, I don't have a good answer.
- A new graphics system, HG2, appeared in R2014a(?). Which Matlab release do you use?
- Did you give export_fig a real chance?
Can I copy figures from Matlab in such a way that their resolution, position, fonts are similar for all the figure when I paste into a word document?
18 views (last 30 days)
Show older comments
I am copying some figure from Matlab to a word document and I have to edit every figure 100 times to match with one another. I must be doing something wrong. I have seen some functions to produce publication quality graphs, but they did not work for my bar-plots or histograms. Now I spent 4 hours to modify 8 figures and still when I put them together, they look different (fonts/position/resolution). When I copy the figure, I have to drag and resize it to match my document size, and then everything falls apart :( I really want to known how do people manage it. I have seen a post from Loren about publication quality graphs, but could not apply that to bar-plots or histograms. Any help is greatly appreciated.
2 Comments
per isakson
on 28 Jan 2016
Edited: per isakson
on 28 Jan 2016
Walter Roberson
on 28 Jan 2016
Are you configuring your figure PaperSize and PaperPosition and PaperPositionMode?
Accepted Answer
Vineeth Kartha
on 2 Feb 2016
Hi Bee,
You can achieve this by ensuring that the figures have the same style. This can be done by adjusting the properties of the bar and histogram functions.
Also copy the figure by going to Edit->Copy Figure and then pasting it in the word document.
For example, you can do this via a MATLAB script that contains the following commands:
>> plot(data1,'MarkerSize','6','Linewidth','0.75');
>> title('Plot1','FontName','Helvetica','FontSize','11');
>> plot(data2,'MarkerSize','6','LineWidth','0.75');
>> title('Plot2','FontName','Helvetica','FontSize','11');
The above piece of code ensures that both the plots that are created have the same linewidth and Markersize. This also ensures that the font and size of the title are uniform.
You can also make the text in the legends to have uniform size throughout the figures, by adjusting the Legend Properties
0 Comments
More Answers (0)
See Also
Categories
Find more on Title 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!