Im trying to display the coordinates I clicked on in the bottom left corner.
I used the OnClick function to put the current coordinates as 2d text on the plot.
The issue is, that when I click again the next coordinates get written ontop of the others. Is there a way to delete the old coordinates?
Im trying to display the coordinates I clicked on in the bottom left corner. I used the OnClick function to put the current coordinates as 2d text on the plot. The issue is, that when I click again the next coordinates get written ontop of the others. Is there a way to delete the old coordinates?