Hi.
I'm attaching a test case.
I'm creating a plot with the x2 and y2 axes linked linearly to the x and y axes using 'set link'. It appears that autoranging is currently badly broken when you do this. The x axes (x and x2) are autoranged correctly. But the y axes are not. Setting the y range manually with 'set range' (commented-out command in the attached script) makes it work.
Thanks!
I should say that a similar issue was reported previously: https://sourceforge.net/p/gnuplot/bugs/2186/
The bug tracker says that this has been fixed, but I'm still seeing MY problem with latest gnuplot from git:
commit 9cdef3d0362d2ea2e27248e4659fc083a86afa3e (HEAD -> master, github_gnuplot/master)
Author: Ethan A Merritt merritt@u.washington.edu
Date: Sat Jul 13 20:29:35 2019 -0700
Thanks.
Earlier report was #1973. Or was there another one?
I accidentally pasted the wrong thing. Yes, 1973 is the other report I saw.
Kind of embarassing, really. The offending code was already labeled "FIXME: probably unneeded or wrong since adding reconcile_linked_axes" but the unit test that was supposed to test it (linked_autoscale.dem) didn't set up the right combination of axes to detect the error.
Fixed now.
I just ran a test, and it works now. Thanks!!