Lambda = pf.get_lambda('param') N = pf.get_N('e-q0s1_table1.dat') N_array = np.arange(0, N, 2) plt.style.use('seaborn-dark-palette') fig, ax = plt.subplots() plt.grid(b=True, which='major', color='black', linewidth='0.4', alpha=0.3) colours = mcolors.TABLEAU_COLORS i = 0 for j, colour in zip(J, colours.keys()): pf.write_param(Jkondo=j) subprocess.call('./1c_run_flow') pf.plot_arrow_diagram(ax, colour=colours[colour], llabel='J = {:.2f}'.format(j), multi=True) ax.legend(loc='upper right', frameon=True, facecolor='white', edgecolor='white', framealpha=0.7) if OUTFILE != 0: plt.savefig(OUTFILE) else: plt.show()
arguments.append(arg) OUTFILE = 0 if np.size(arguments) >= 1: OUTFILE = arguments[1] plt.style.use('seaborn-dark-palette') fig, ax = plt.subplots() plt.grid(b=True, which='major', color='black', linewidth='0.4', alpha=0.3) N = pf.get_N('e-q0s1_table1.dat') N_array = np.arange(0, N, 2) J_lm = np.zeros(len(N_array)) pf.plot_arrows(N_array, J_lm, ax, colour='tab:blue', llabel='local moment') J_sc = 1.33742913 * np.ones(len(N_array)) pf.plot_arrows(N_array, J_sc, ax, colour='tab:red', llabel='strong coupling') pf.plot_arrow_diagram(ax) plt.legend(loc="upper center", frameon=True, framealpha=0.7, facecolor='white', edgecolor='white') if OUTFILE != 0: plt.savefig("{}".format(OUTFILE)) else: plt.show()
UG_4 = np.array([1e-2, 2e-3]) UG_5 = np.array([1e-2, 5e-3]) UG_6 = np.array([0.0, 1e-2]) UG = [[0.01, 0], [0.01, 2e-4], [0.01, 7e-4], [0.01, 1e-3], [0.01, 2e-3], [0.01, 5e-3], [0.01, 2e-2], [0.01, 1e-2], [0, 0.01]] Lambda = pf.get_lambda('param') plt.style.use('seaborn-paper') fig = plt.figure() ax = fig.add_axes([0.15, 0.15, 0.8, 0.75]) colours = mcolors.TABLEAU_COLORS i = 0 for pair, colour in zip(UG, colours.keys()): pf.write_param(U=pair[0], Gamma=pair[1]) subprocess.call('./1c_run_flow') pf.plot_arrow_diagram(ax, colour='black', fixedpoints=False) pf.include_fixedpoints(ax) # MISSING: LEGEND if OUTFILE != 0: plt.savefig("/graphs_and_data/arrowplots_multiple/{}".format(OUTFILE)) else: plt.show()
import matplotlib.cm as cm from matplotlib.lines import Line2D import math as mt arguments = [] for arg in sys.argv[1:]: arguments.append(arg) OUTFILE = 0 if np.size(arguments) >= 1: OUTFILE = arguments[0] plt.style.use('seaborn-paper') fig = plt.figure() ax = fig.add_axes([0.15, 0.2, 0.8, 0.75]) pf.plot_arrow_diagram(ax, fixedpoints=True) ax.spines['right'].set_visible(False) ax.spines['top'].set_visible(False) ax.tick_params(labelsize=25) ax.set_ylabel('$U_{\mathrm{eff}}$', fontsize=25) ax.set_xlabel('$\Gamma_{\mathrm{eff}}$', fontsize=25) ax.set_xticks([0, 0.5, 1]) ax.set_yticks([0, 1, 2, 3, 4]) ax.tick_params(labelsize=25) U_param, GAMMA_param = pf.get_u_gamma() if OUTFILE != 0: if OUTFILE == 'folder': plt.savefig( "graphs_and_data/arrowflow_and_eigenflow/u-{0:.4f}_gamma-{1:.4f}_UGdiagram.png"
UG = [[0.01, 0], [0.01, 2e-4], [0.01, 2e-3], [2e-4, 0.01], [0, 0.01]] Lambda = pf.get_lambda('param') plt.style.use('seaborn-paper') fig = plt.figure() ax = fig.add_axes([0.15, 0.15, 0.8, 0.75]) colours = list(mcolors.TABLEAU_COLORS.values()) i = 0 for pair, colour in zip(UG, colours): pf.write_param(U=pair[0], Gamma=pair[1]) subprocess.call('./1c_run_flow') pf.plot_arrow_diagram(ax, colour=colour, fixedpoints=False) xtest = [11110, 11111] ytest = [111110, 111111] if pair[0] == 0: ax.plot(xtest, ytest, color=colour, label='$U=0$, $\Gamma={:.1e}$'.format(pair[1])) elif pair[1] == 0: ax.plot(xtest, ytest, color=colour, label='$U={:.1e}$, $\Gamma=0$'.format(pair[0])) else: ax.plot(xtest,