def xref(ref): minn=-60; maxn=60; mine=0.10; maxe=0.35; mind=-0.10;maxd=0.25; xrefformat=''' xll=3.5 yll=2.5 title= symbol=x symbolsz=10 title= parallel2=n min1=%g max1=%g min2=%g max2=%g labelsz=12 screenratio=1''' Flow('epref',ref,'window n2=1 f2=0') Flow('deref',ref,'window n2=1 f2=1') Flow('nuref',ref,'window n2=1 f2=2') Plot('enref','epref nuref', '''cmplx ${SOURCES[1]} | graph label1="\s150 \F9 e" unit1= label2="\F9 \s150 n \F4 \s100 (\^o\_)" '''+xrefformat %(mine,maxe,minn,maxn) ) Plot('edref','epref deref', '''cmplx ${SOURCES[1]} | graph label1="\F9 \s150 e" unit1= label2="\F9 \s150 d" '''+xrefformat %(mine,maxe,mind,maxd) ) Plot('ndref','nuref deref', '''cmplx ${SOURCES[1]}| graph label1="\F9 \s150 n \F4 \s100 (\^o\_)" unit1= label2="\F9 \s150 d" l'''+xrefformat %(minn,maxn,mind,maxd) ) pplot.p2x2('xref','enref','','edref','ndref',0.5,0.5,-10,-12)
def xref(ref): minn = -60 maxn = 60 mine = 0.10 maxe = 0.35 mind = -0.10 maxd = 0.25 xrefformat = ''' xll=3.5 yll=2.5 title= symbol=x symbolsz=10 title= parallel2=n min1=%g max1=%g min2=%g max2=%g labelsz=12 screenratio=1''' Flow('epref', ref, 'window n2=1 f2=0') Flow('deref', ref, 'window n2=1 f2=1') Flow('nuref', ref, 'window n2=1 f2=2') Plot( 'enref', 'epref nuref', '''cmplx ${SOURCES[1]} | graph label1="\s150 \F9 e" unit1= label2="\F9 \s150 n \F4 \s100 (\^o\_)" ''' + xrefformat % (mine, maxe, minn, maxn)) Plot( 'edref', 'epref deref', '''cmplx ${SOURCES[1]} | graph label1="\F9 \s150 e" unit1= label2="\F9 \s150 d" ''' + xrefformat % (mine, maxe, mind, maxd)) Plot( 'ndref', 'nuref deref', '''cmplx ${SOURCES[1]}| graph label1="\F9 \s150 n \F4 \s100 (\^o\_)" unit1= label2="\F9 \s150 d" l''' + xrefformat % (minn, maxn, mind, maxd)) pplot.p2x2('xref', 'enref', '', 'edref', 'ndref', 0.5, 0.5, -10, -12)
def xplot(epsilon,delta,nu): # ------------------------------------------------------------ minn=-60; maxn=60; mine=0.10; maxe=0.35; mind=-0.10;maxd=0.25; xplotformat=''' xll=3.5 yll=2.5 title= symbol=. parallel2=n min1=%g max1=%g min2=%g max2=%g labelsz=12 screenratio=1''' Plot('enplot',[epsilon,nu], '''cmplx ${SOURCES[1]} | put n1=360000 n2=1 n3=1 | window j1=20 | graph label1="\s150 \F9 e" unit1= label2="\F9 \s150 n \F4 \s100 (\^o\_)" '''+xplotformat %(mine,maxe,minn,maxn) ) Plot('edplot',[epsilon, delta], '''cmplx ${SOURCES[1]} | put n1=360000 n2=1 n3=1 | window j1=20 | graph label1="\F9 \s150 e" unit1= label2="\F9 \s150 d" '''+xplotformat %(mine,maxe,mind,maxd) ) Plot('ndplot',[nu,delta], '''cmplx ${SOURCES[1]} | put n1=360000 n2=1 n3=1 | window j1=20 | graph label1="\F9 \s150 n \F4 \s100 (\^o\_)" unit1= label2="\F9 \s150 d" l'''+xplotformat %(minn,maxn,mind,maxd) ) pplot.p2x2('xplot','enplot','','edplot','ndplot',0.5,0.5,-10,-12)
def xplot(epsilon, delta, nu): # ------------------------------------------------------------ minn = -60 maxn = 60 mine = 0.10 maxe = 0.35 mind = -0.10 maxd = 0.25 xplotformat = ''' xll=3.5 yll=2.5 title= symbol=. parallel2=n min1=%g max1=%g min2=%g max2=%g labelsz=12 screenratio=1''' Plot( 'enplot', [epsilon, nu], '''cmplx ${SOURCES[1]} | put n1=360000 n2=1 n3=1 | window j1=20 | graph label1="\s150 \F9 e" unit1= label2="\F9 \s150 n \F4 \s100 (\^o\_)" ''' + xplotformat % (mine, maxe, minn, maxn)) Plot( 'edplot', [epsilon, delta], '''cmplx ${SOURCES[1]} | put n1=360000 n2=1 n3=1 | window j1=20 | graph label1="\F9 \s150 e" unit1= label2="\F9 \s150 d" ''' + xplotformat % (mine, maxe, mind, maxd)) Plot( 'ndplot', [nu, delta], '''cmplx ${SOURCES[1]} | put n1=360000 n2=1 n3=1 | window j1=20 | graph label1="\F9 \s150 n \F4 \s100 (\^o\_)" unit1= label2="\F9 \s150 d" l''' + xplotformat % (minn, maxn, mind, maxd)) pplot.p2x2('xplot', 'enplot', '', 'edplot', 'ndplot', 0.5, 0.5, -10, -12)