I don't like the idea of displaying the coordinates along sidealongside the points. Positioning them is tricky and the drawing quickly becomes very cluttered. So I suggest labeling the points with tooltips that will only appear when the mouse cursor moves a point.
Of course, you need to modify pts
to be the list of all the points you want to show.
If you don't like my solution using tooltips, which is quick and easy, you might want to look at a more elaborate solution I offer here that will allow you to put the coordinates anywhere you like.
Note: Graphics
does not accept the Epilog
option because it is never needed. Epilog
is for Plot
and its relatives.