Loading scripts/nseplot.py +5 −4 Original line number Diff line number Diff line Loading @@ -337,7 +337,6 @@ def echo_plot(hdfile, iecho=0, **kwargs): fig, axes = plt.subplots(nxx,nyy, figsize=(8,8)) fig.subplots_adjust(hspace=0.05, wspace=0.05) ymax = np.amax(pha) Loading Loading @@ -399,14 +398,16 @@ def echo_plot(hdfile, iecho=0, **kwargs): (sample, base, lam0/ANGSTROM, q0,tau0)) if center_only and ntaus>1: # figr = plt.figure(figsize=(8,8)) # figr.suptitle(r'%s | %s' % (sample, base)) #fig0.subplots_adjust(wspace=0.25) ax = fig0.add_subplot(nxtau,nytau,ntaus) res = np.asarray(resolution) ax.plot(res[:,0],res[:,1], '.--') ax.set_xscale('log') ax.set_yscale('log') ax.set_ylim(top=1.1) ax.set_ylim(bottom=min(0.1,min(res[:,1])), top=max(1.1,max(res[:,1]))) ax.grid(True) Loading Loading
scripts/nseplot.py +5 −4 Original line number Diff line number Diff line Loading @@ -337,7 +337,6 @@ def echo_plot(hdfile, iecho=0, **kwargs): fig, axes = plt.subplots(nxx,nyy, figsize=(8,8)) fig.subplots_adjust(hspace=0.05, wspace=0.05) ymax = np.amax(pha) Loading Loading @@ -399,14 +398,16 @@ def echo_plot(hdfile, iecho=0, **kwargs): (sample, base, lam0/ANGSTROM, q0,tau0)) if center_only and ntaus>1: # figr = plt.figure(figsize=(8,8)) # figr.suptitle(r'%s | %s' % (sample, base)) #fig0.subplots_adjust(wspace=0.25) ax = fig0.add_subplot(nxtau,nytau,ntaus) res = np.asarray(resolution) ax.plot(res[:,0],res[:,1], '.--') ax.set_xscale('log') ax.set_yscale('log') ax.set_ylim(top=1.1) ax.set_ylim(bottom=min(0.1,min(res[:,1])), top=max(1.1,max(res[:,1]))) ax.grid(True) Loading