Reset the figure configuration to the default

8 views (last 30 days)
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

Answers (1)

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

Categories

Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!