figure windows background color

9 ビュー (過去 30 日間)
SonOfAFather
SonOfAFather 2012 年 11 月 7 日
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

回答 (1 件)

Jessica Lam
Jessica Lam 2012 年 11 月 8 日
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));

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by