Page 1 of 1

Labeling vertical axes of diagonal subplots in triangular plots

Posted: February 04 2019
by Sunny Vagnozzi
Hello all,

I'm producing some triangular plots using getdist and am trying to label the vertical axes along the diagonal subplots, i.e. the axes containing the (normalized or unnormalized) 1D marginalized posterior distributions of the parameters of interest. For instance, I would like the axes label to be something like P/P_{\rm max}, to reflect the fact that what is being plotted is a (normalizable) probability distribution.

With a 1D plot, this would be simple, e.g. where

Code: Select all

g = GetDistPlots.GetDistPlotter(plot_data = path_to_my_data)
I would just do

Code: Select all

g.settings.prob_label = r'$P/P_{\rm max}$'
The problem is that there doesn't seem to be an equivalent command for doing the same thing in triangular plots, or am I missing some option in getdist? Alternatively, any suggestion on how to do this?

Cheers,
Sunny

Re: Labeling vertical axes of diagonal subplots in triangular plots

Posted: February 05 2019
by Antony Lewis
No sorry; I tried to add this option at some point but could not find anything worked and that looked good.