set source $1 set ncycles $2 openppf onoffsurvey_${source}-${ncycles}Cycles.ppf print onoffevol set defatt "font=helvetica,bold,20 fixedfonsize" set axedefatt "font=helvetica,bold,30 fixedfonsize grid" graphicatt "$defatt" setaxesatt "$axedefatt" newwin 1 2 n/pl onoffevol.onoffRaw0%cycle ! ! "blue cpts notit nsta" settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt n/pl onoffevol.onoffRaw1%cycle ! ! "red cpts notit nsta" setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt newwin 1 2 n/proj hRaw0 onoffevol.onoffRaw0 ! ! ! "blue cpts notit" settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt n/proj hRaw1 onoffevol.onoffRaw1 ! ! ! "red cpts notit" newwin 1 2 n/pl onoffevol.onoffRun0%cycle ! ! "blue cpts notit nsta" settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt n/pl onoffevol.onoffRun1%cycle ! ! "red cpts notit nsta" setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt newwin 1 2 n/proj hRun0 onoffevol.onoffRun0 ! ! ! "blue cpts notit" settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt n/proj hRun1 onoffevol.onoffRun1 ! ! ! "red cpts notit" newwin 1 2 n/pl onoffevol.onoffCycle0%cycle ! ! "blue cpts notit nsta" settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt n/pl onoffevol.onoffCycle1%cycle ! ! "red cpts notit nsta" setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt newwin 1 2 n/proj hCycle0 onoffevol.onoffCycle0 ! ! ! "blue cpts notit" settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt n/proj hCycle1 onoffevol.onoffCycle1 ! ! ! "red cpts notit" graphicatt "xylimits=1250,1500,-0.01,0.01" del snocal0 snocal1 objaoper meanNoCalib row 0 snocal0 objaoper meanNoCalib row 1 snocal1 newwin 1 1 plot2d snocal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" plot2d snocal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt del sruncal0 sruncal1 objaoper meanPerRunCalib row 0 sruncal0 objaoper meanPerRunCalib row 1 sruncal1 newwin 1 1 plot2d sruncal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" plot2d sruncal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt newwin 1 1 del scyclecal0 scyclecal1 objaoper meanPerCycleCalib row 0 scyclecal0 objaoper meanPerCycleCalib row 1 scyclecal1 plot2d scyclecal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" plot2d scyclecal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt