Effacer les filtres
Effacer les filtres

figure windows background color

12 vues (au cours des 30 derniers jours)
SonOfAFather
SonOfAFather le 7 Nov 2012
Can I change the backgorund color from white to black to show better contrast when using the cyan and yellow lines. I am plotting six line and need them to be differant colors I am already using the broken line properties.
thanks in advance

Réponses (1)

Jessica Lam
Jessica Lam le 8 Nov 2012
figure1=figure('Color',[0 0 0],'InvertHardcopy','off');
axes1 = axes('Parent',figure1,...
'YColor',[1 1 1],...
'XColor',[1 1 1],...
'Color',[0 0 0]);
hold(axes1,'all');
plot(rand(10,6));

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by