Reset the figure configuration to the default

6 visualizaciones (últimos 30 días)
Mohammed
Mohammed el 27 de Sept. de 2017
Respondida: Walter Roberson el 27 de Sept. de 2017
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

Respuestas (1)

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

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by