defining limit for a colorbar after calculating the limit from a given data

1 回表示 (過去 30 日間)
Arundhatee Talukdar
Arundhatee Talukdar 2011 年 11 月 19 日
I have a voltage data V in a matrix. From this data I am calculating some other data Z. I am plotting Z with pcolor. Now my professor said that I cannot use the absolute vale of V, instead find out the mean of the min and max and then use those limits for finding Z so that eventually Z limits also get affected by this action. I am clueless, somebody please help me is understanding this and finding out mean of V, and the appropriate limits!

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 11 月 19 日
mean()
max()
min()
caxis()
set(gca, 'CLim', [cLow, cHigh]);

カテゴリ

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