def ewavelet3d(wavelet,custom,par): for i in range(3): Plot(wavelet+'-'+str(i+1),wavelet, 'window n2=1 f2=%d | transp | window |'%i + waveplot('%d %s'% (i,custom) ,par)) pplot.p1x3(wavelet,wavelet+'-1',wavelet+'-2',wavelet+'-3',0.35,0.35,-11)
def cliptogether3(plot,file1,file2,file3,title1,title2,title3,axis,center,custom,par): Flow(plot+'-all',[file1,file2,file3], ''' cat axis=4 space=n ${SOURCES[1:3]} | byte gainpanel=a pclip=99.0 '''+custom ) if(axis==1): if(not par.has_key('ys')): par['ys']=0.48 if(not par.has_key('xs')): par['xs']=0.48 if(not par.has_key('xc')): par['xc']=-8.5 Plot(file1,plot+'-all','window n4=1 f4=0 | '+ cgrey3(' flat=y title=%s '%title1 +custom+center,par)) Plot(file2,plot+'-all','window n4=1 f4=1 |' + cgrey3(' flat=y title=%s wantaxis1=n'%title2 +custom+center,par)) Plot(file3,plot+'-all','window n4=1 f4=2 |' + cgrey3(' flat=y title=%s wantaxis1=n'%title3 +custom+center,par)) pplot.p1x3(plot,file1,file2,file3,par['ys'],par['xs'],par['xc']) Result(file1,plot+'-all','window n4=1 f4=0 | '+ cgrey3(' flat=y title=%s '%title1 +custom+center,par)) Result(file2,plot+'-all','window n4=1 f4=1 |' + cgrey3(' flat=y title=%s '%title2 +custom+center,par)) Result(file3,plot+'-all','window n4=1 f4=2 |' + cgrey3(' flat=y title=%s '%title3 +custom+center,par)) else: if(not par.has_key('ys')): par['ys']=.75 if(not par.has_key('xs')): par['xs']=.75 if(not par.has_key('xc')): par['xc']=-10 Plot(file1,plot+'-all','window n4=1 f4=0 | '+ cgrey3(' flat=y title=%s '%title1 +custom+center,par)) Plot(file2,plot+'-all','window n4=1 f4=1 |' + cgrey3(' flat=y title=%s '%title2 +custom+center,par)) Plot(file3,plot+'-all','window n4=1 f4=2 |' + cgrey3(' flat=y title=%s '%title3 +custom+center,par)) pplot.p3x1(plot,file1,file2,file3,par['ys'],par['xs'],par['xc'])