Dear Antony Lewis,
I have probably two naive questions, but I'm struggling to solve them.
- Is it possible to include a text or a title in triangular plots (.getSubplotPlotter), apart from the legends of each curve (legend_labels[]) ?
- Is it possible to edit the range the parameters are plotted? For single plot there is the 'lims[]' option, but I couldn't figure out how to control this com triangular plots.
Thanks!
best,
Cassio
Getdist - python
-
- Posts: 1
- Joined: April 08 2016
- Affiliation: UFBA (Brazil) & ICL
-
- Posts: 97
- Joined: March 19 2010
- Affiliation: The University of Texas at Dallas
- Contact:
Getdist - python
I have been wondering about this feature too.- Is it possible to edit the range the parameters are plotted? For single plot there is the 'lims[]' option, but I couldn't figure out how to control this com triangular plots.
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Getdist - python
You can use standard matplotlib after running the triangle plot, e.g. after
you can use the g.fig figure handle (eg. to add figure title) or g.subplots[y,x] axes array to modify individual subplots as you wish.
There's no limits support in triangle_plot at the moment, you could probably add a param_limits dictionary argument as for rectangle_plot (pull requests on github welcome!).
Code: Select all
g = plots.getSubplotPlotter()
g.triangle_plot([samples, samples2], filled=True)
There's no limits support in triangle_plot at the moment, you could probably add a param_limits dictionary argument as for rectangle_plot (pull requests on github welcome!).