Mouse coordinates to output file

David Brant <[email protected]> Fri, 11 Mar 2022 12:07:33 +0000
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <AM6PR04MB5399537C508FF483F70A29E6D80C9@AM6PR04MB5399.eurprd04.prod.outlook.com>
Having plotted something, is it possible to click the mouse key at multiple specific locations and write a sequence of appended x, y coordinates to an ascii text file?

I can get this to work in the GUI using the following, but i need the hard copy.

plot 'something'
pause mouse keypress
print "Keystroke ", MOUSE_KEY, " at ", MOUSE_X, " ", MOUSE_Y

Any advice would be much appreciated. Dave

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info