## Comands for MatLab

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Mario Acero
Posts: 28
Joined: November 15 2006
Contact:

### Comands for MatLab

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:

Code: Select all

pts=load &#40;fullfile&#40;'plot_data/','free_N_fnu_2D_20_8'&#41;&#41;;
x1 = tmp&#40;&#58;,1&#41;;
x2 = tmp&#40;&#58;,1&#41;;
&#91;C h&#93; = contour&#40;x1,x2,pts,cnt&#41;; 
Then, what I want to do is to put the axes in Log scale.

Is it possible?

Best,

MarioAAO.

Han Jiaxin
Posts: 1
Joined: July 12 2006
Affiliation: Shanghai Astronomical Observatory
Contact:

### Comands for MatLab

Have you tried this

Code: Select all

set&#40;gca,'XScale','log','YScale','log'&#41;
Regards,
Jiaxin