Skip to content

Commit 3dcedeb

Browse files
author
Ilya Mandel
committed
Matlab code clean
1 parent ca09fe6 commit 3dcedeb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compas_matlab_utils/ComparisonPlots.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ function ComparisonPlots(filename1, name1, filename2, name2)
1818
% '~/Work/COMPAS/src/COMPAS_2Stage/COMPAS_Output.h5', '2 stage CE')
1919
%
2020
% Warning: --switch-log must be used for all runs to be analysed
21+
% It is recommended, but not required, to use the same random seed for the
22+
% runs being compared in order to compare individual binary evolution
2123

2224

2325
global Msunkg G AU Rsun
@@ -40,7 +42,8 @@ function ComparisonPlots(filename1, name1, filename2, name2)
4042
figure(1), hold off; figure(2), hold off;
4143
figure(1), set(gca,'FontSize',20), xlabel('Mass 1 (M$_\odot$)', 'Interpreter', 'latex'),
4244
ylabel('Mass 2 (M$_\odot$)', 'Interpreter', 'latex'), title('Merging DCO masses'); legend;
43-
figure(2), set(gca,'FontSize',20), xlabel('log_{10} (Orbital period/hr)'), ylabel('Eccentricity'), title('DNS at formation'); legend;
45+
figure(2), set(gca,'FontSize',20), xlabel('$\log_{10}$ (Orbital period/hr)', 'Interpreter', 'latex');
46+
ylabel('Eccentricity'), title('DNS at formation'); legend;
4447

4548

4649
%Plot BH HMXBs

0 commit comments

Comments
 (0)