How to edit .fig (already saved image) in MATLAB?
84 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have .fig files and loaded in MATLAB by using openfig as shown in below figure. I want to edit these .fig files, for example, want to plot (above and below panels as (a) and (b)), want to bold title and axis, re-size the images. After making one figure I want to save it as high resolution image by using print('------'). How can I do it?
Thanks
0 件のコメント
回答 (1 件)
Fangjun Jiang
2023 年 1 月 24 日
編集済み: Fangjun Jiang
2023 年 1 月 24 日
run "findobj(figld)" and you will see a list of objects.
The general idea is to use findobj() to find the handles of the needed objects and then modify the properties of the object.
lines=findobj(figld,'type','line')
get(lines(1))
2 件のコメント
Fangjun Jiang
2023 年 1 月 24 日
You've had the code that you showed. Run those, and then run the code that I showed. You will see the results and go from there.
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!