How do I dynamically adjust the color shade of a grid cell?

1 回表示 (過去 30 日間)
Mark
Mark 2015 年 12 月 2 日
コメント済み: Mark 2015 年 12 月 8 日
Please I would like to adjust the color of my grid cell from 0 being white to 1 being a full blue(or green, red etc). I can already color my grid using the fill function, so I just want to know how to extend it to shading dynamically.
Thanks,

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 12 月 2 日
  1 件のコメント
Mark
Mark 2015 年 12 月 8 日
Hello Walter, maybe you didn't get my question right. I do not intend to manually adjust the colour shade, but my code is expected to produce values representing concentration of a property which I intend displaying by the colour intensity.

サインインしてコメントする。

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by