canvas サンプル

概要

256階調のカラーマップを配列で取得するサンプルです。 サンプルでは取得した数値を使って色サンプルを作成して表示しています。

参考: https://jp.mathworks.com/help/matlab/ref/colormap.html#buc3wsn-1-map

jet
HSV
hot
cool
spring
summer
autumn
winter
gray