Page 1 of 1

How to add colored points in Getdist figure?

Posted: May 24 2016
by Jack Sparrow
Hi, all,

I want to add several colored points in the the figure generated by the getdist. Do you know how to do it? Thanks a lot.

Re: How to add colored points in Getdist figure?

Posted: May 25 2016
by Antony Lewis
You can just use standard matplotlib to add extra things after the plot is made by getdist.

How to add colored points in Getdist figure?

Posted: May 25 2016
by Jack Sparrow
Hi, Antony!

Thanks a lot for your help. Your method can work for single plot. But, the output figure generated by getdist contains a lot of subfigures. So, how should I specify which subfigure I am going to modify?

Thanks!!

Re: How to add colored points in Getdist figure?

Posted: May 26 2016
by Antony Lewis
Using subplots array. See the example at

http://getdist.readthedocs.io/en/latest ... llery.html

How to add colored points in Getdist figure?

Posted: May 26 2016
by Jack Sparrow
Thanks a lot for your very useful guide, Antony!!!

But I have another question now. That is the spacing or number of ticks on the axes. I tried to find the relevant information but failed. Could you tell me how to change the tick number?

Thank you!!!