Menu

#3775 Glitch in plot

None
open
nobody
gnuplot (24)
5
2021-04-23
2021-04-20
No

There is a weird glitch to the right of (0,1) and to the left of (0,-1) in plot2d(signum(x),[x,-1,1],[y,-1.1,1.1])

This only appears with the wxt terminal of gnuplot, but not x11 or Tk8.6's canvas widget (used in Xmaxima) -- reported as https://sourceforge.net/p/gnuplot/bugs/2438/, possibly in the wxWidgets library.

Maxima 5.44.0 SBCL 2.0.0 Windows 10 gnuplot 5.2/PL8

1 Attachments

Discussion

  • Stavros Macrakis

    This seems to be a gnuplot bug, which seems to happen when plotted points are "too close" together (as happens near a discontinuity using adaptive plotting).
    I have reported it as https://sourceforge.net/p/gnuplot/bugs/2438/

     
  • Stavros Macrakis

    On the corresponding gnuplot bug, Ethan Merritt diagnosed this as being a problem in recent pango/cairo libraries, and suggested changing the anti-aliasing settings. Some experimentation with the wrench/rendering method menu shows that the best setting is just antialiasing without oversample.

    Fortunately, that setting is persistent across gnuplot sessions... though it would be even better if we could preset it for the wxt terminal at Maxima installation time.

     

Log in to post a comment.