#1440 Gnuplot loses points upon window resize for large data set

None
closed-out-of-date
nobody
wxt (10)
2016-01-28
2014-07-07
Anonymous
No

I have a dataset of 84 files, each of which contains roughly 1,400 data points for a total of 113,738 points. The initial plot (prepared with ShowBug.plt) looks just fine (see file plot1ok.png). The problem comes after I maximize the plot window (see file plot2err.png). For some reason, many of the data points do not appear on the large plot. When I resize the window back to the original size, again, many points are not drawn (see file plot3err.png).

The problem occurred on version 4.6, patchlevel 3, build system: MS-Windows 32 bit running on Windows 7 Professional version 6.1

See the attached compressed tar file to recreate the problem and to review the referenced files.

and ...

Thanks! It's cool that volunteers write and maintain packages like this.

1 Attachments

Discussion

  • Bastian Märkisch

    Confirmed using current 4.6 CVS on Windows using the wxt terminal.

    Drawing is slow already the first time and the plot window "stalls" for a quite a while. Switching oversampling and antialiasing off elimantes the problem of the "lost" data on my system. Perhaps some lines are not drawn because we hit a time-out.

    With the windows terminal the graph is drawn correctly. So as a quick fix you can change terminals with set term win.

     
  • Bastian Märkisch

    • labels: --> wxt
     
  • Ethan Merritt

    Ethan Merritt - 2014-07-07

    Weird. Under linux something similar happens.
    Initial plot looks OK.
    Maximize causes it to lose some points.
    Replot makes it look OK again.

    Note that maximize without a subsequent replot leaves the scale in an intermediate state. Perhaps the missing points are incorrectly judged to be out of range? After the replot the scale is correct for the fullscreen mode and the points are shown correctly.

    What happens if you maximize the screen first, and only then load the problematic script?

    For that matter, does "replot" produce the correct plot after you have maximized or shrunk the plot window?

     
  • Ethan Merritt

    Ethan Merritt - 2016-01-28
    • status: open --> closed-out-of-date
    • Group: -->
    • Priority: 5 -->
     
  • Ethan Merritt

    Ethan Merritt - 2016-01-28

    This problem seems to not show up in builds from recent CVS. Perhaps due to the fix for Bug #1709?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks