pro graph_residual_and_waveform
ylim, 'erg_pwe_efd_l2_Eu_residual',-50,50 ;縦軸の範囲を-50から50に
ylim, 'erg_pwe_efd_l2_Ev_residual',-50,50
options, 'erg_pwe_efd_l2_Eu_residual', panel_size = 2.0 ; 縦幅を2倍に
options, 'erg_pwe_efd_l2_Ev_residual', panel_size = 2.0
tplot_options,'ygap',0.1 ;パネル間隔を通常の0.1倍に狭くした
tplot_options,'region',[0.1,0,1,1];縦軸ラベルはみ出さないように
tplot_options,'xticklen',-0.05;x軸目盛を外側にして長さ0.05
tplot,['erg_pwe_efd_l1p_Vv1_waveform_8HZ','erg_pwe_efd_l1p_Vu1_waveform_8HZ','erg_pwe_efd_l1p_Vv2_waveform_8HZ','erg_pwe_efd_l1p_Vu2_waveform_8HZ','u1ant_and_mag','E_u_d','scpot_u','E_v_d','scpot_v','erg_pwe_efd_l2_Eu_residual','erg_pwe_efd_l2_Ev_residual','pos_gse']
tplot
end
この内容をgraph_residual_and_waveform.pro という名前でIDLWorkspaceに保存、IDLでコンパイルして使う