Menu

#1774 replot has inconsistent autoscaling with points, inline data, logscale

None
closed-fixed
nobody
None
2016-07-20
2016-04-11
dima
No

Hi. I have a very simple plot script:

set logscale x
plot '-' notitle with linespoints
1 1
2 2
3 3
e

This works as one would expect. However when I "replot", the x axis bounds change; I expect them to remain the same as before. Here the right bound jumps to the right, which is bad, but maybe not critically bad. I see some situations where it fails catastrophically, however:

set logscale x
set yrange ["0":"6"]

plot '-' using 1:(1.0) smooth freq notitle with boxes
1
2
3
4
5
1002
e

Here a replot makes the plot useless.

Thanks.

Discussion

  • Ethan Merritt

    Ethan Merritt - 2016-04-11

    Confirmed. 5.0.2 was OK, the buggy replot behaviour appeared in 5.0.3

     
  • Ethan Merritt

    Ethan Merritt - 2016-04-11
    • status: open --> pending-fixed
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2016-04-11

    Fixed for 5.0 and 5.1

     
  • Ethan Merritt

    Ethan Merritt - 2016-07-20
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB