◎普段使ってる色のメモ

set rgb 20 60 0 60

set rgb 21 113 26 83

set rgb 22 161 0 199

set rgb 23 78 24 232

set rgb 24 25 81 246

set rgb 25 0 161 230

set rgb 26 0 199 199

set rgb 27 230 220 51

set rgb 28 230 176 46

set rgb 29 240 130 41

set rgb 30 255 94 25

set rgb 31 240 30 0

set rgb 32 170 0 0

set rgb 33 100 0 0

set rgb 50 80 80 80   <--これは地図用 map 50 1 20でベクトルを重ねてもあまり邪魔にならない。


smcol.gs関連

 「私」さんが公開してるスクリプト。色を細かく変化させる事でGMTっぽい絵がかける

 ・全体的な注意。デフォルトだと色の数が奇数なので、例えば中心値を0にした時、正と負で色の数が非対称になってしまう。→単純に色の数を偶数に書き換える。

 ・rainbowカラー等を使う際の注意。gradsのシェードは「ある値からある値までをこの色で塗る」というものなので(他の描画ソフトもそうだろうけど)、中心の色(col*.7)を例えば白にすると、それは「中心の値(例えば0)を白にする」訳ではなく、「中心の値(例えば0)からある値までを白にする」事になってしまう。つまり、色の付け方を少し工夫しないと、「0でない値が0のように見えてしまう図」が描画されることになってしまう。以下、寒色系→暖色系とした時の僕の設定をメモ(上述の普段使いのメモとほぼ同じ)。

      col1.1 =113; col2.1 = 26; col3.1 = 83

      col1.2 =161; col2.2 =  0; col3.2 =199

      col1.3 = 78; col2.3 = 24; col3.3 =232

      col1.4 = 25; col2.4 = 81; col3.4 =246

      col1.5 =  0; col2.5 =161; col3.5 =230

      col1.6 =  0; col2.6 =199; col3.6 =199

      col1.7 =246; col2.7 =244; col3.7 =182

      col1.8 =230; col2.8 =220; col3.8 = 51

      col1.9 =230; col2.9 =176; col3.9 = 46

      col1.10=240; col2.10=130; col3.10= 41

      col1.11=255; col2.11=94; col3.11=25

      col1.12=240; col2.12= 30; col3.12=  0

      col1.13=170; col2.13=  0; col3.13=  0



********************************************************

color.gs関連

color.gsを/usr/local/grads/script へ

ga->color 最小値 最大値 間隔 で青から赤へ。

ga->color 最小値 最大値 間隔 -kind red->yellow->lightgreen->deepskyblue->blue->purple

その後表示されるccolosを参考にすれば、正と負で非対称なシェーディングにも利用できる。



以下、たぶん使わないけど一応メモ。


*setting color*************

**"red" colors**

set rgb 21 255   0   0

set rgb 22 240  40  60

set rgb 23 240  80  80

set rgb 24 240 120 100

set rgb 25 240 160 120

set rgb 26 240 200 160

set rgb 27 240 240 200

**"blue" colors**

set rgb 28 200 240 240

set rgb 29 160 200 240

set rgb 30 120 160 240

set rgb 31 100 120 240

set rgb 32  80  80 240

set rgb 33  60  40 240

set rgb 34   0   0 255

**"purple" colors**

set rgb 35 170  90 170

**"blue"**

set rgb 40 178 219 213

set rgb 41 154 204 217

set rgb 42 116 183 215

set rgb 43 108 171 214

set rgb 44 0 129 184

set rgb 45 48 89 165

set rgb 46 40 85 144

set rgb 47 53 60 145

set rgb 48 52 44 119

set rgb 49 28 22 57

*set rgb 50

*set rgb 51


*set rbcols 34 33 32 31 30 29 28 27 26 25 24 23 22 21

*set rbcols 21 22 23 24 25 26 27 28 29 30 31 32 33 34

******************************