フィルターのクリア

Color scaling

2 ビュー (過去 30 日間)
Paolo Rossi
Paolo Rossi 2012 年 2 月 9 日
Hi,
I've a Matrix like this:
0,561303747204570 0,590587535591075 0,592759115285411 0,581278917341664 0,560085436701484 0,526597826061607 0,503995107943212 0,508910503509398 0,538910503509398
0,561550068872504 0,590141858261372 0,592678715503570
....
this matrix is close in a loop, for every cicle the matrix add a row of value. I plot the matrix on a graph every loop using the command drawnow, but the color in each line sometimes differ very much each other. for example the first line, the color is like red yellow... in the other is blu ... Is there a way to fix the scale for all raws?

回答 (2 件)

Jonathan Sullivan
Jonathan Sullivan 2012 年 2 月 9 日
What you'll want to do is make sure you use a constant color axis. This can be set by using the command caxis.
help caxis

Sean de Wolski
Sean de Wolski 2012 年 2 月 9 日
docsearch colororder
Explains how colors are selected, how you can change them and how you can set defaults.

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by