Comands for MatLab
Posted: October 22 2007
Hello,
I would like to make some Log-Log plots (actualy, Log-Log contours) using the results given by GetDist, may be by changing some of the comands in the MatLab (*.m) files.
I've been looking for in some MatLab manual, but I have not been able to find the procedure.
For example, let me put here a piece of the 'root.m' file which produces a contour of parameter 20 vs. parameter 6:
Then, what I want to do is to put the axes in Log scale.
Is it possible?
Thanks for your help.
Best,
MarioAAO.
I would like to make some Log-Log plots (actualy, Log-Log contours) using the results given by GetDist, may be by changing some of the comands in the MatLab (*.m) files.
I've been looking for in some MatLab manual, but I have not been able to find the procedure.
For example, let me put here a piece of the 'root.m' file which produces a contour of parameter 20 vs. parameter 6:
Code: Select all
pts=load (fullfile('plot_data/','free_N_fnu_2D_20_8'));
tmp = load (fullfile('plot_data/','free_N_fnu_p8.dat'));
x1 = tmp(:,1);
tmp = load (fullfile('plot_data/','free_N_fnu_p20.dat'));
x2 = tmp(:,1);
load (fullfile('plot_data/','free_N_fnu_2D_20_8_likes'));
cnt = load (fullfile('plot_data/','free_N_fnu_2D_20_8_cont'));
[C h] = contour(x1,x2,pts,cnt);
Is it possible?
Thanks for your help.
Best,
MarioAAO.