Figure Editor: how to change default settings?

1 回表示 (過去 30 日間)
Igor
Igor 2011 年 5 月 7 日
R2010a is installed on two computers (in different places). Someway, while same simple command >>fplot('x.^2',[0 1]), Figure Editor runs at different setting -- the 1st computer plot white background for axes, the 2nd -- black one. Of course, I suppuse that default colormaps differ. I need the same snapshots!
How to repair situation?

採用された回答

Teja Muppirala
Teja Muppirala 2011 年 5 月 8 日
One MATLAB has its colordef as black.
colordef black
figure
fplot('x.^2',[0 1])
colordef white
figure
fplot('x.^2',[0 1])
See the documentation for COLORDEF. I've always liked colordef black though...

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by