Matlab for pedestrians

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Olga Mena
Posts: 9
Joined: April 03 2008
Affiliation: IEEC Bellaterra Spain

Matlab for pedestrians

Post by Olga Mena » September 01 2008

Hi!

I am trying to overlay several 2D contours but it is the first time I work with matlab and I am not sure which file produced by getdist should be given to
the function confid2D to produce plots like this one:

http://cosmologist.info/cosmomc/pics/WMAP3_TT.png

Apologies for my ignorance!

Thanks!

Olga

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Matlab for pedestrians

Post by Antony Lewis » September 01 2008

I think you just give the chains' root name and it will use the right files. e.g. example at the top of confid2D.m

Code: Select all

%Usage confid2D('file_root',param1,param2,line_color,contour_colors)
%e.g. confid2D('lya',8,17,'-k','gc')

Olga Mena
Posts: 9
Joined: April 03 2008
Affiliation: IEEC Bellaterra Spain

Matlab for pedestrians

Post by Olga Mena » September 02 2008

Hi!

Thanks a lot!
I will try!

Olga

Post Reply