Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4372

Re: Canvas mouse tracking box location

Newsgroups comp.graphics.apps.gnuplot
Date 2020-11-19 18:20 -0800
References <2dd11773-95c6-4989-8bcb-11ce83fa11d1n@googlegroups.com> <8ba019e8-c495-4cef-a81f-68ca201892b8n@googlegroups.com> <695cd004-bb52-410f-87c6-9d48532811e6n@googlegroups.com>
Message-ID <2a3d1c20-4bf4-4278-8b74-00432a7debfdn@googlegroups.com> (permalink)
Subject Re: Canvas mouse tracking box location
From MBaz <eorlinga@gmail.com>

Show all headers | View raw


On Thursday, November 19, 2020 at 1:43:22 PM UTC-5, MBaz wrote:
> On Wednesday, November 18, 2020 at 9:55:59 PM UTC-5, MBaz wrote: 
> > On Wednesday, November 18, 2020 at 9:14:28 PM UTC-5, MBaz wrote: 
> > > The documentation and the demos on gnuplot's webpage indicate that the mouse-tracking box in a canvas plot should appear on the bottom of the plot. 
> > Here is what gnuplot outputs with the commands given above: https://gist.github.com/mbaz/c6106679b7c01ce58ab422a5b5dbd025
> I have found that there are several different classes in the mousebox CSS, and `mbleft` is the one used in the canvas html. I was hopeful that changing it manually to `mbunder` would help, but it didn't. 
> 
> I also saw the example canvas demo plots for gnuplot 5.5 (unfortunately, the 5.4 canvas demos are 404). Besides much cleaner html, it uses the `mbunder` class, and disables the "text zoom" button.

I was able to place the mousebox under the plot by copying the layout from gnuplot's demo page. This works: mouse zoom, mouse tracking, printing and clearing coordinates with the left and right mouse buttons, and the zoom reset/restore buttons. This doesn't work: grid on/off button, turning plots on/off.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Canvas mouse tracking box location MBaz <eorlinga@gmail.com> - 2020-11-18 18:14 -0800
  Re: Canvas mouse tracking box location MBaz <eorlinga@gmail.com> - 2020-11-18 18:55 -0800
    Re: Canvas mouse tracking box location MBaz <eorlinga@gmail.com> - 2020-11-19 10:43 -0800
      Re: Canvas mouse tracking box location MBaz <eorlinga@gmail.com> - 2020-11-19 18:20 -0800
  Re: Canvas mouse tracking box location Karl Ratzsch <mail.kfr@gmx.net> - 2020-11-19 20:27 +0100

csiph-web