pro bif testdir='\\rabbit\sipin\H1RG-022-SIPIN\cold1\PhotonXfer_test.13Jun05' for nn=1,20 do begin & n=nn*5 photon1_reduce, testdir, snr_min=0.8, infile='flist_'+strtrim(string(n),2)+'.lst',/outps,region=[100,900,400,900] photon_analysis,testdir+'Results\',0.8,datfile='Open_Open_photonxfer_data.txt',outfile='Open_Open_photonxfer_data'+'flist_'+strtrim(string(n),2)+'.jpg' endfor ; set up to plot to memory buffer and then write to JPEG set_plot, 'z' device, set_colors = 256 device, set_resolution = [8000, 6000] device, set_font = 'Courier' ; set text to write at bottom of plot fsub = jpgfile ; set parameters for JPEG ; set tick marks and margins !Y.MINOR = 0 !y.margin = [6, 4] !x.margin = [20, 4] asize = 12.0 ; charsize for annotations athick = 15.0 ; charthick for annotations lthick = 20.0 ; line thickness ; plot colors black = 0 white = 255 red = 0 ; define arrays for x,y vertices, offset from point _X = fltarr(10) _Y = fltarr(10) ; define position angle and angle step size _theta = 0 _delta_theta = 2 * !PI / 10 _radius=10 for i= 0, 9 do begin & _X[i] = _radius * cos(_theta) & _Y[i] = _radius * sin(_theta) & _theta = _theta + _delta_theta & endfor ; Define the symbol usersym, _X, _Y, /FILL y=[1.28,1.1,1.06,1.04,1.03,1.03,1.02,1.02,1.02,1.00,1.00,1.00,1.00,.99,.99,.98,.96,.94,.91,.9] x=indgen(20)*5+5 plot,x,y,title='H1RG-022-SIPIN',xtitle='number of images per stack',ytitle='conversion gain (e-/ADU)',color = black,background = white,charsize = asize * 1.25, charthick = athick, xthick = lthick,ythick = lthick,psym=8 j=tvrd() write_jpeg,'\\rabbit\sipin\H1RG-022-SIPIN\cold1\PhotonXfer_test.13Jun05\Results\combined.jpg',congrid(j,1600,1200,/center,/interp),quality=100 end