Add an extra information in a python plot?
matplotlib, python
Solution
figtext would work well.
The advantage of `figtext` over `text` and `annotate` is that `figtext` defaults to using the figure coordinates, whereas the others default to using the coordinates of the axes (and therefore "T=4K" would move around if your axes are different between the different plots).
import matplotlib.pyplot as plt
plt.figure()
plt.xlim(-10, 10)
plt.ylim(0, .01)
plt.figtext(.8, .8, "T = 4K")
plt.show()
Problem
Suppose we have a figure with three plots in it for three different parameters. But for the all three plots We have same temperature T=4K . Then how can I add this information in the figure? I am not interested to write it in the Caption. I want it on the figure itself.