"reinit" "set display color white"; "c" Mon.1="01"; Mon.2="02"; Mon.3="03"; Mon.4="04"; Mon.5="05"; Mon.6="06" Mon.7="07"; Mon.8="08"; Mon.9="09"; Mon.10="10"; Mon.11="11"; Mon.12="12" Dir_Inp="/home/tanpv/Data/562_VNU/0.25_VN/Dr_IDXs_Ope/" Dat_out="/home/tanpv/Progs/562_VNU/2024/PDF/" Nidx=2 ;* spi, spei Nlen=3 ;* 1,3,6 months NDr_lev=3 ;* mild, moderate, extreme Nlead=6 Nvar=4 ;* pc, pod, ts, hss Nmon=12; Var.1="pc"; Var.2="pod"; Var.3="ts"; Var.4="hss" Didx.1="spi"; Didx.2="spei" Len.1="01"; Len.2="03"; Len.3="06" Lev.1="Mild"; Lev.2="Moderate"; Lev.3="Extreme" Ncol=Nmon; Nrow=Nvar y00=8.0; y01=0.3 dy=(y00-y01)/Nrow+0.09 x00=0.3; x01=11 dx=(x01-x00)/Ncol+0.12 yy2=(y00+y01)/2+0.05 idx=0 While (idx1); x1=x11-0.2; x2=x1+dx; x11=x2; endif While (irow1); y2=y11+0.2; y1=y2-dy; y11=y1; endif "set parea "x1" "x2" "y1" "y2 "set mpdraw off"; "set frame off"; "set xlab off";"set ylab off" "set t " ilead; "set z " ilev * "d "Var.irow"_"Mon.icol if (irowred->yellow->white-(0)->white->cyan->blue->darkblue -levs " levels levels = " -0.3 -0.2 -0.1 -0.05 0 0.05 0.1 0.2 0.3 " "run color.gs -gxout grfill -kind green->lightgreen-(0)->yellow->red -levs " levels "set grads off" return ******************************************** function prob_Clor() * levels = " -2 -1.5 -1 0 1 1.5 2 " * "run color.gs -gxout grfill -kind darkred->red->yellow->white-(0)->white->cyan->blue->darkblue -levs " levels * levels = " 0.01 0.02 0.03 0.05 0.1 0.2 0.3 0.5 0.6 0.7 0.8 0.9 " levels = " 0.05 0.1 0.2 0.3 0.5 0.6 0.7 0.8 0.9 " ;*levels = " -1.0 0 1.0 " "run color.gs -gxout grfill -kind yellow->orange->red -levs " levels "set grads off" return ******************************************** function T_Clor() levels = " 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 " "run color.gs -gxout grfill -kind lightgreen->yellow->orange->red -levs " levels "set grads off" return ******************************************** function Pr_Clor() * levels = " 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 " levels = " 0.8 0.85 0.9 0.95 " "run color.gs -gxout grfill -kind white->yellow->orange->red->darkred -levs " levels "set grads off" return ******************************************** function R_Clor() * levels = " 10 30 50 70 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 " * "run color.gs -gxout grfill -kind lightgreen->yellow->orange->red -levs " levels levels = " 5 10 20 30 50 70 100 150 200 250 300 350 400 450 500 550 600 650 700 " "run color.gs -gxout grfill -kind green->lightgreen->yellow->orange->red -levs " levels * "run color.gs -gxout grfill -kind red->orange->yellow->lightgreen->green -levs " levels "set grads off" return