Page 1 of 1

[GetDist] customise title_limit on each subplot

Posted: January 13 2021
by Albin Nilsson
I am making some triangle plots using GetDist, and I would like to add a custom 'title' on each 1D histogram, much like the arg title_limit. Is there any good way to achieve this? I am using GetDistGUI. Thanks!

Re: [GetDist] customise title_limit on each subplot

Posted: January 14 2021
by Antony Lewis
Not in the gui (except by editing the script in the script tab)

Re: [GetDist] customise title_limit on each subplot

Posted: January 14 2021
by Albin Nilsson
Hi Anthony, thanks for the quick reply.

I don't necessary need to use the GUI, do you know a way to do it using the script?

Thanks

Re: [GetDist] customise title_limit on each subplot

Posted: January 14 2021
by Antony Lewis
access the g.subplots[x,y] axis you want and use standard matplotlib

Re: [GetDist] customise title_limit on each subplot

Posted: January 14 2021
by Albin Nilsson
Thanks again for the quick reply, I will try to do that.

As a follow-up question: can I control the x and y ticks? Depending on the parameter values, I sometimes only have one value marked on the axes.

Thanks again.