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

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
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

I have generated two data files of $r$ vs $n_s$ 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