Labeling vertical axes of diagonal subplots in triangular plots

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Sunny Vagnozzi
Posts: 44
Joined: August 15 2016
Affiliation: Oskar Klein Centre, Stockholm University

Labeling vertical axes of diagonal subplots in triangular plots

Post by Sunny Vagnozzi » February 04 2019

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

Antony Lewis
Posts: 1413
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Labeling vertical axes of diagonal subplots in triangular plots

Post by Antony Lewis » February 05 2019

No sorry; I tried to add this option at some point but could not find anything worked and that looked good.

Post Reply