# -*- coding: euc-jp -*-
require "numru/ggraph"
include NumRu


dir  = '.'
vname = 'SensA'

gphys = GPhys::NetCDF_IO.open(dir+'/'+vname+".nc", vname)

gphysout = gphys.cut('lon'=>0).cut('lat'=>0)#.cut('time'=>times..timee)


#< DCLのオープンと設定 >
DCL.gropn(4)
#DCL.sldiv('y',2,2)           # 2x2に画面分割, 'y'=yoko: 左上→右上→左下...
DCL.sgpset('lcntl', false)   # 制御文字を解釈しない
DCL.sgpset('lfull',true)     # 全画面表示
DCL.uzfact(0.75)             # 座標軸の文字列サイズを 0.75 倍
DCL.sgpset('lfprop',true)    # プロポーショナルフォントを使う


#< GGraph による 描画 >
GGraph.set_fig 'itr'=>1, 'viewport'=>[0.15,0.85,0.15,0.6]#, 'window'=>[gphystime.val[0],gphystime.val[-1],sigs,sige]

GGraph.line( gphysout, true, 'transpose'=>false, 'annotate'=>false, 'min'=>-110, 'max'=>310 )

DCL.grcls

