|
From: François S. <sch...@un...> - 2022-03-11 15:22:48
|
Try this :
set print 'your_file.txt'
pause mouse key "Set point, click+enter=validate, any key=[esc]\\n"
while ( MOUSE_KEY == 13 ) {
print MOUSE_X, MOUSE_Y
pause mouse key
}
François
Le 11/03/2022 à 13:07, David Brant a écrit :
> 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
> gnu...@li...
> Membership management via:https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|