From 0fdbbadbcbe7bf974f341a3e81ed18d2e7769e5e Mon Sep 17 00:00:00 2001 From: Jabir Ali Ouassou Date: Sun, 17 May 2015 13:24:36 +0200 Subject: [PATCH] Changed parameters --- Classes/Metal.m | 14 +++++++++----- simulate_bilayer.m | 4 ++-- simulate_bilayer_spinactive.m | 4 +++- simulate_bilayer_spinorbit.m | 4 +++- simulate_josephson.m | 6 ++++-- simulate_josephson_spinactive.m | 4 +++- simulate_josephson_spinorbit.m | 4 +++- 7 files changed, 27 insertions(+), 13 deletions(-) diff --git a/Classes/Metal.m b/Classes/Metal.m index d3d68e8..8e4f87e 100644 --- a/Classes/Metal.m +++ b/Classes/Metal.m @@ -258,10 +258,11 @@ function plot_dos_left(self) % Plot the results plot(erg, dos); xlabel('\epsilon/\Delta_0') - ylabel('N/N_0') + ylabel('D(\epsilon)') set(gca, 'XTick', -20:20); set(gca, 'YTick', -20:20); - set(gca, 'YLim', [0 2]); + set(gca, 'XLim', [-2 2]); + set(gca, 'YLim', [ 0 2]); end function plot_dos_right(self) @@ -284,9 +285,10 @@ function plot_dos_right(self) % Plot the results plot(erg, dos); xlabel('\epsilon/\Delta_0') - ylabel('N/N_0') + ylabel('D(\epsilon)') set(gca, 'XTick', -20:20); set(gca, 'YTick', -20:20); + set(gca, 'XLim', [-2 2]); set(gca, 'YLim', [0 2]); end @@ -311,9 +313,10 @@ function plot_dos_center(self) % Plot the results plot(erg, dos); xlabel('\epsilon/\Delta_0') - ylabel('N/N_0') + ylabel('D(\epsilon)') set(gca, 'XTick', -20:20); set(gca, 'YTick', -20:20); + set(gca, 'XLim', [-2 2]); set(gca, 'YLim', [0 2]); end @@ -343,7 +346,8 @@ function plot_dos_surf(self) set(gca, 'XTick', -20:20); set(gca, 'YTick', -20:20); set(gca, 'ZTick', -20:20); - set(gca, 'ZLim', [0 2]); + set(gca, 'XLim', [-2 2 ]); + set(gca, 'ZLim', [ 0 2 ]); end function plot_dist(self) diff --git a/simulate_bilayer.m b/simulate_bilayer.m index eda14fa..6af852e 100644 --- a/simulate_bilayer.m +++ b/simulate_bilayer.m @@ -11,7 +11,7 @@ function simulate_bilayer() % Vectors of positions and energies that will be used in the simulation positions = linspace(0.0, 1.0, 50); - energies = linspace(0.0, 2.0, 100); + energies = linspace(0.0, 2.0, 50); % Filename where results will be stored output = 'simulate_bilayer.dat'; @@ -47,7 +47,7 @@ function simulate_bilayer() figure; m.plot_dos_surf; figure; - m.plot_dos_left; + m.plot_dos_center; % Save the results of the simulation save(output); diff --git a/simulate_bilayer_spinactive.m b/simulate_bilayer_spinactive.m index 8493eec..5aeb3f3 100644 --- a/simulate_bilayer_spinactive.m +++ b/simulate_bilayer_spinactive.m @@ -11,7 +11,7 @@ function simulate_bilayer_spinactive(interface_polarization, interface_phase) % Vectors of positions and energies that will be used in the simulation positions = linspace(0.0, 1.0, 100); - energies = linspace(0.0, 1.5, 26); + energies = linspace(0.0, 2.0, 50); % Filename where results will be stored output = 'simulate_bilayer_spinactive.dat'; @@ -50,6 +50,8 @@ function simulate_bilayer_spinactive(interface_polarization, interface_phase) % Plot the results figure; m.plot_dos_surf; + figure; + m.plot_dos_center; % Save the results of the simulation save(output); diff --git a/simulate_bilayer_spinorbit.m b/simulate_bilayer_spinorbit.m index 4533dde..bbcfdd6 100644 --- a/simulate_bilayer_spinorbit.m +++ b/simulate_bilayer_spinorbit.m @@ -11,7 +11,7 @@ function simulate_bilayer_spinorbit(exchange_strength, exchange_angle, spinorbit % Vectors of positions and energies that will be used in the simulation positions = linspace(0.0, 1.0, 100); - energies = linspace(0.0, 1.5, 26); + energies = linspace(0.0, 2.0, 50); % Filename where results will be stored output = 'simulate_bilayer_spinorbit.dat'; @@ -46,6 +46,8 @@ function simulate_bilayer_spinorbit(exchange_strength, exchange_angle, spinorbit % Plot the results figure; m.plot_dos_surf; + figure; + m.plot_dos_center; % Save the results of the simulation save(output); diff --git a/simulate_josephson.m b/simulate_josephson.m index 9e245c8..21d8278 100644 --- a/simulate_josephson.m +++ b/simulate_josephson.m @@ -11,8 +11,8 @@ function simulate_josephson(phase_difference) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Vectors of positions and energies that will be used in the simulation - positions = linspace(0.0, 1.0, 100); - energies = linspace(0.0, 1.5, 25); + positions = linspace(0.0, 1.0, 50); + energies = linspace(0.0, 2.0, 50); % Filename where results will be stored output = 'simulate_josephson.dat'; @@ -55,6 +55,8 @@ function simulate_josephson(phase_difference) % Plot the results figure; m.plot_dos_surf; + figure; + m.plot_dos_center; % Save the results of the simulation save(output); diff --git a/simulate_josephson_spinactive.m b/simulate_josephson_spinactive.m index 75ff55d..6eb6f12 100644 --- a/simulate_josephson_spinactive.m +++ b/simulate_josephson_spinactive.m @@ -12,7 +12,7 @@ function simulate_josephson_spinactive(phase_difference, interface_polarization, % Vectors of positions and energies that will be used in the simulation positions = linspace(0.0, 1.0, 100); - energies = linspace(0.0, 1.5, 25); + energies = linspace(0.0, 2.0, 50); % Filename where results will be stored output = 'simulate_josephson_spinactive.dat'; @@ -62,6 +62,8 @@ function simulate_josephson_spinactive(phase_difference, interface_polarization, % Plot the results figure; m.plot_dos_surf; + figure; + m.plot_dos_center; % Save the results of the simulation save(output); diff --git a/simulate_josephson_spinorbit.m b/simulate_josephson_spinorbit.m index cba7e73..706aab9 100644 --- a/simulate_josephson_spinorbit.m +++ b/simulate_josephson_spinorbit.m @@ -12,7 +12,7 @@ function simulate_josephson_spinorbit(phase_difference, exchange_strength, excha % Vectors of positions and energies that will be used in the simulation positions = linspace(0.0, 1.0, 100); - energies = linspace(0.0, 1.5, 25); + energies = linspace(0.0, 2.0, 50); % Filename where results will be stored output = 'simulate_josephson_spinorbit.dat'; @@ -55,6 +55,8 @@ function simulate_josephson_spinorbit(phase_difference, exchange_strength, excha % Plot the results figure; m.plot_dos_surf; + figure; + m.plot_dos_center; % Save the results of the simulation save(output);