Bug#762006: gnuplot-x11: incorrect tic positions with y2tics

Agustin Martin agmartin at debian.org
Wed Sep 26 11:34:26 BST 2018


Version: 5.2.4+dfsg1-1
Followup-For: Bug #762006

On Wed, Sep 17, 2014 at 07:27:47PM +0200, Denis Danilov wrote:
> Package: gnuplot-x11
> Version: 4.6.5-10
> Severity: normal
> 
> Dear Maintainer,
> 
> using 'set y2tics' command may lead to incorrect tic positions. A minimal
> example that reporduces the bug is
> start gnuplot
> gnuplot> f(x) = x
> gnuplot> set y2tics
> gnuplot> plot [0:1][0.1:1] f(x)
> a plot will appear and the tics of y-axis on right side match the tics on the left
> but for
> gnuplot> plot [0:1][0.15:1] f(x)
> the tics on the right side are wrong and the y-axis starts with 0.1, but the
> interal was set to 0.15:1

Hi,

Not a fix but a workaround, explicitly setting y2range should help

f(x) = x
set y2range[0.15:1]
set y2tics
plot [0:1][0.15:1] f(x)

but this should not be needed. Seems it should be the default behavior.

Regards,

-- 
Agustin



More information about the debian-science-maintainers mailing list