Page 1 of 1

Matlab for pedestrians

Posted: September 01 2008
by Olga Mena
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

Re: Matlab for pedestrians

Posted: September 01 2008
by Antony Lewis
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')

Matlab for pedestrians

Posted: September 02 2008
by Olga Mena
Hi!

Thanks a lot!
I will try!

Olga