#### 3.25.40.2 mouseformat

The ‘set mouse format‘ command specifies a format string for sprintf() which determines how the mouse cursor [x,y] coordinates are printed to the plot window and to the clipboard. The default is "% #g".

‘set mouse clipboardformat‘ and mouseformat are used for formatting the text on Button1 and Button2 actions – copying the coordinates to the clipboard and temporarily annotating the mouse position. An integer argument selects one of the format options in the table below. A string argument is used as a format for sprintf() in option 6 and should contain two float specifiers. Example:

         `set mouse mouseformat "mouse x,y = %5.2g, %10.3f"`.

Use ‘set mouse mouseformat ""‘ to turn this string off again.

The following formats are available:

     0   default (same as 1)
     1   axis coordinates                    1.23, 2.45
     2   graph coordinates (from 0 to 1)    /0.00, 1.00/
     3   x = timefmt     y = axis           [(as set by timefmt), 2.45]
     4   x = date        y = axis           [31. 12. 1999, 2.45]
     5   x = time        y = axis           [23:59, 2.45]
     6   x = date time   y = axis           [31. 12. 1999 23:59, 2.45]
     7   format from mouseformat, e.g. "mouse x,y = 1.23,     2.450"