setting 'match figure screen size' for copy options to a figure throgh command prompt
2 ビュー (過去 30 日間)
古いコメントを表示
How to set the 'match figure screen size' in copy figure options through command prompt. We now set it by clicking from the drop down menu. I want to set this in an .m file giving it as command line.
I need to copy and hold the property for the copy option for pasting it to a ppt or doc, for that 'match figure screen size' in edit -> copyotions->'match figure screen size' check box should be ticked, how to activated and deactivate that in command promp.
1 件のコメント
回答 (3 件)
Walter Roberson
2015 年 9 月 14 日
Set the figure http://www.mathworks.com/help/matlab/ref/figure-properties.html PaperPositionMode to 'auto'
0 件のコメント
Allen Goldstein
2021 年 1 月 21 日
編集済み: Allen Goldstein
2021 年 1 月 21 日
You need to set the Resoluton in the factorystyle to 0.
style = hgexport('factorystyle'); % get the style
style.Resolution = 0; % Resolution = 0 means use the screen resolution
hgexport(gcf,'-clipboard',style);
And MATHWORKS: you need to document hgexport!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!