X-Received: by 2002:ac8:5ac3:: with SMTP id d3mr13654709qtd.384.1605838812175; Thu, 19 Nov 2020 18:20:12 -0800 (PST) X-Received: by 2002:a25:2d05:: with SMTP id t5mr24165332ybt.297.1605838812031; Thu, 19 Nov 2020 18:20:12 -0800 (PST) Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Thu, 19 Nov 2020 18:20:11 -0800 (PST) In-Reply-To: <695cd004-bb52-410f-87c6-9d48532811e6n@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=8.9.84.172; posting-account=kTRnegoAAAC2-GCau0jpUJgQzQHVU4ng NNTP-Posting-Host: 8.9.84.172 References: <2dd11773-95c6-4989-8bcb-11ce83fa11d1n@googlegroups.com> <8ba019e8-c495-4cef-a81f-68ca201892b8n@googlegroups.com> <695cd004-bb52-410f-87c6-9d48532811e6n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2a3d1c20-4bf4-4278-8b74-00432a7debfdn@googlegroups.com> Subject: Re: Canvas mouse tracking box location From: MBaz Injection-Date: Fri, 20 Nov 2020 02:20:12 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 20 Xref: csiph.com comp.graphics.apps.gnuplot:4372 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:=20 > > On Wednesday, November 18, 2020 at 9:14:28 PM UTC-5, MBaz wrote:=20 > > > The documentation and the demos on gnuplot's webpage indicate that th= e mouse-tracking box in a canvas plot should appear on the bottom of the pl= ot.=20 > > Here is what gnuplot outputs with the commands given above: https://gis= t.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 chang= ing it manually to `mbunder` would help, but it didn't.=20 >=20 > 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 `mbun= der` 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 c= learing coordinates with the left and right mouse buttons, and the zoom res= et/restore buttons. This doesn't work: grid on/off button, turning plots on= /off.