from org.das2.util import ColorUtil

setLayoutOverplot(3)

tr = '2017-11-28T11:00 to 17:00'
l_erg= getDataSet('vap+cdaweb:ds=ERG_ORB_L2&filter=erg&id=pos_eq[:,0]',tr)
l_erg= trim( l_erg, tr )
plot (l_erg, color=ColorUtil.CADET_BLUE, lineThick=3)

tr = '2017-11-28T17:00 to 23:00'
l_erg= getDataSet('vap+cdaweb:ds=ERG_ORB_L2&filter=erg&id=pos_eq[:,0]',tr)
l_erg= trim( l_erg, tr )
plot (1, l_erg, color=ColorUtil.CORNFLOWER_BLUE, lineThick=6 )

tr = '2017-11-28T23:00 to 2017-11-29T04:00'
l_erg= getDataSet('vap+cdaweb:ds=ERG_ORB_L2&filter=erg&id=pos_eq[:,0]',tr)
l_erg= trim( l_erg, tr )
plot (2, l_erg, color=ColorUtil.CADET_BLUE, lineThick=3 )