Python ploting getting $r$ $n_s$ plot for natural inflation

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Akhilesh Nautiyal(akhi)
Posts: 60
Joined: June 13 2007
Affiliation: Malaviya National Institute of Technology Jaipur

Python ploting getting $r$ $n_s$ plot for natural inflation

Post by Akhilesh Nautiyal(akhi) » May 25 2018

I have generated two data files of [tex]r[/tex] vs [tex]n_s[/tex] with different efoldings for natural inflation. I would like to plot them using python matplotlib and get the region between them filled with some color (as in the Planck paper 1502.02114 Fig.~ 12). I tried with fill_between function of matplotlib but couldn't get it as the x and y coordinates of the two data files have different size. Looking forward for kind help.

Regards,
akhilesh

Post Reply