GetDist - renaming in GUI script
Posted: April 08 2021
Dear all,
I am trying to analyze with GetDist some chains (not from CosmoMC), but I want to have plots with not the same names for the parameters as the ones I have in the chains files, using the GUI script. My code is something like :
This plots a triangle plot with names for the parameters paramA and paramB, the same they have in the chains files.
Is there any option one can include in the script here that allows having in the triangle plot generated not paramA and paramB names but, for example, invented_rename_A and invented_rename_B ?
Thank you and regards.
I am trying to analyze with GetDist some chains (not from CosmoMC), but I want to have plots with not the same names for the parameters as the ones I have in the chains files, using the GUI script. My code is something like :
Code: Select all
from getdist import plots
from getdist import paramnames
g=plots.get_subplot_plotter(chain_dir=['a', 'b', 'c'])
roots = []
roots.append('aa_')
roots.append('bb_')
roots.append('cc_')
params = ['paramA','paramB'] #these are the names in the chains files
g.triangle_plot(roots, params ,filled=True, contour_colors=['orange','gray','green'])
g.export()
Is there any option one can include in the script here that allows having in the triangle plot generated not paramA and paramB names but, for example, invented_rename_A and invented_rename_B ?
Thank you and regards.