This looks like a figure from a paper, whose copyright you infringed by posting a screenshot here.
I would suggest asking the authors for the code. Authors of scientific papers are generally very happy if anyone is interested in their papers, and are generally glad to share their knowledge and expertise.