export_fig stretch figure making unreadable
显示 更早的评论
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!
回答(1 个)
Adam Danz
2020-7-2
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!