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 CenterFile Exchange에서 Blue에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by