Reset the figure configuration to the default
6 次查看(过去 30 天)
显示 更早的评论
I want to reset the attached figure configuration (Matalb 2016b) to the default i.e change the backgrounds to white and whole text labels and axes ticks to black
0 个评论
回答(1 个)
Walter Roberson
2017-9-27
ax = gca;
ax.Color = [1 1 1];
Leg = ax.Legend;
if ~isempty(Leg)
Leg.TextColor = [0 0 0];
end
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!