Bug#914709: gnuplot: Mouse coordinates makes little sense in multiplot mode in wxt terminal

Witold Baryluk witold.baryluk at gmail.com
Mon Nov 26 15:04:46 GMT 2018


Package: gnuplot
Version: 5.2.5+dfsg1-1
Severity: normal

As title says,

I know zooming and replotting is "broken" in multiplot mode (which is a
topic for another time), but the coordinates which are in principle axis
based coordinates that are displayed in wxt in status bar at the bottom
are more often than not, simply wrong in multiplot mode.

If I use xrange [0:10], yrange [0:2], multiplot layout 3,1 (3 rows, 1
column), the x coordinate looks good as long as all graphs have the same
xrange, if not it probably only uses the last graph. At the same time the
y coordinate is completly wrong. Zero conicides with the zero on the last
graph,  but max y (2), doesn't concide with the top of the last graph,
nor anything else really.

I guess, wxt should simply switch to screen based coordinates in multiplot
and indicate that coordinates are screen x, screen y in the status bar.

wxt should be made more smart and have concept or regions.

Coordinates in status bar in wxt are useful, i.e. to get more accurate
value of points x or y coordinate, when not using grid, or when trying
to find intersection of two plots, or fine tuning xrange / yrange manually.

At the same time multiplot should be also smart and be able to remember
plot command for each subplot (plus all assosciated 'set' commands) use
for this subplot. This will make replotting, i.e. dynamically changing
data, zooming, or just simply resizing a wxt window and replotting,
actually work.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnuplot depends on:
ii  gnuplot-x11 [gnuplot-nox]  5.2.5+dfsg1-1

gnuplot recommends no packages.

Versions of packages gnuplot suggests:
ii  gnuplot-doc  5.2.5+dfsg1-1

-- no debconf information



More information about the debian-science-maintainers mailing list