I am trying to write a program using Python 3.6 to plot a 48 points with thier x and y coordinates, and I stored their x and y coordinates in pxn and pyn lists respectively The problam that I want to add each point's Id on each point. Points IDs are stored in the list that called pidn. I wrote this code part ,
pylab.figure()
pylab.plot(pxn,pyn, 'r+', label='Point''s Coordinates')
pylab.legend()
pylab.title(' Points Plotting with X-North Direction and Y-Direction ', loc='center', color='Blue')
pylab.xlabel('Y-Direction', fontsize=14, color='red')
pylab.ylabel('X-Direction',fontsize=14, color='blue')
pylab.grid(True)
pylab.show()
But I don not know how to add the Ids on each point from the pidn list. Any one help me please, I am a beginer in Python .
Thanks in Advance
