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

回答(1 个)

Walter Roberson
Walter Roberson 2017-9-27
ax = gca;
ax.Color = [1 1 1];
Leg = ax.Legend;
if ~isempty(Leg)
Leg.TextColor = [0 0 0];
end

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by