In the following code I have created 4 axis. Positive and negative x and y axis. I want to label positive x-axis as c1,negative x-axis as c2, positive y-axis as h1 and negat
You can use matplotlib.pyplot.text(x, y, s, fontdict=None, withdash=False, **kwargs) to write text at a specified location on your graph. x and y correspond to the location of the string, s is the string.