0
I have the following code:
import matplotlib.pyplot as plt
AP_X = [10,20,30,40]
AP_Y = [50,60,70,80]
plt.scatter(AP_X, AP_Y, color="green")
plt.ylim(0, 100)
plt.xlim(0, 100)
plt.show()
It displays a graph with the x,y positions of my 4 points.
How do I include, in each point, a label indicating 1, 2, 3 and 4?
See if the method
matplotlib.pyplot.text
is what you need.– Woss