Gnuplot canvas terminal mouse coordinates
- From: gflesch@xxxxxxxxxxxx
- Date: Thu, 3 May 2012 17:21:26 -0700 (PDT)
Hello,
I'm using the gnuplot canvas terminal, starting with some of Ethan
Merritt's demo page stuff to show some plots where the x axis goes
from, say, 3590.01 to 3590.42. (infrared spectra with wavenumber)
The returned coordinates on the canvas and in the HTML table (mb0 and
mb1) have very poor resolution, so that it only shows 3590 wherever I
move or click the mouse.
I tried hacking the gnuplot_mouse.js file by changing the
x.toPrecision( ) call, but that didn't help.
How can I increase the resolution of the returned coordinates to
something like %9.4f
Any help is greatly appreciated!
I'm using Perl 5.10.0, Gnuplot 4.4, Apache 2.2.21, Firefox 12.0 all
running on MacOS 10.6.8
.
- Follow-Ups:
- Re: Gnuplot canvas terminal mouse coordinates
- From: sfeam
- Re: Gnuplot canvas terminal mouse coordinates
- Prev by Date: Line Style Color per Index Question
- Next by Date: Re: No output
- Previous by thread: Line Style Color per Index Question
- Next by thread: Re: Gnuplot canvas terminal mouse coordinates
- Index(es):