Menu

#2763 stats (Statistical Summary) shouldn't be affected by yrange

None
closed-not-a-bug
nobody
None
2025-06-04
2025-01-22
SweetTyler
No

I am using the latest v6.1.
Here is content of my file named "dd4"

5.00 -0.032583 -0.012284 -0.004793
15.00 -0.034521 -0.012820 -0.005003
25.00 -0.038865 -0.014558 -0.005779
35.00 -0.046806 -0.013025 -0.005194
45.00 -0.060992 -0.016532 -0.006632

1) Launch gnuplot, then run
stats "dd4" every ::1::1 u 2
this time I got expected output;
2) Run
set yrange [0.02:0.07],
stats "dd4" every ::1::1 u 2
this time I got nothing but a warning:
All points out of range

The correct logic is that stats output should be affected by the setting of yrange because I am only asking for statistical information now.

Discussion

  • SweetTyler

    SweetTyler - 2025-01-22

    This becomes particularly inconvenient when processing multiple graphs. If I have set the yrange for a previous dataset or graph, I must unset the yrange before running stats to process the subsequent data, again and again.

     
  • Ethan Merritt

    Ethan Merritt - 2025-01-25
    • status: open --> open-not-a-bug
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2025-06-04
    • Status: open-not-a-bug --> closed-not-a-bug
     

Log in to post a comment.

MongoDB Logo MongoDB