export_fig stretch figure making unreadable
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I'm plotting many data points and want save it using export_fit function.
It saves this like:

and I want to have it like this (screenshot from stretched plot):

How can I do it?
Do you have an idea how better to locate this legend, its looks not so nice?
And how can I change a color of boarders (gray area) to white?
Thank you!
0 件のコメント
回答 (1 件)
Adam Danz
2020 年 7 月 2 日
Is the problem with the fontsize? Is the export cropping the legend? Is the problem with the position of the legend?
You can change the gray figure background to white using fig.Color = 'w' where fig is your figure handle.
2 件のコメント
Adam Danz
2020 年 7 月 6 日
There are lots of options for the export_fig function. If you can't get any of the options to work for you and you think there's a problem with the function, you could contact the author of that function on his profile page.
参考
カテゴリ
Help Center および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!