From: Jaime E. V. <vi...@us...> - 2025-07-04 14:24:43
|
The part of this bug that had to do with the SVG background has been fixed with commit [86ea48] . The remaining part (conflict between draw2d and plot2d) remains to be fixed. --- **[bugs:#4294] Package draw and plot2d Gnuplot line type interaction** **Status:** open **Group:** None **Labels:** plotting plot2d draw gnuplot **Created:** Mon Apr 22, 2024 11:31 PM UTC by Robert Dodier **Last Updated:** Fri Jul 04, 2025 11:59 AM UTC **Owner:** nobody Working with Git version ff883f3. `gnuplot --version` reports: `gnuplot 5.4 patchlevel 2` I am working on Linux. I noticed an interaction between the draw package and plot2d. First time I try plot2d, I see all solid lines as expected. ``` (%i1) plot2d (makelist (sin(k*x), k, 1, 10), [x, 0, 10]) $ ``` Now I load the draw package and draw something, and then try the same plot2d as before. ``` (%i2) load (draw) $ (%i3) draw2d (rectangle ([0, 0], [10, 1])) $ (%i4) plot2d (makelist (sin(k*x), k, 1, 10), [x, 0, 10]) $ ``` That second plot2d shows that the curves are drawn with a variety of line types, not just a solid line. Some are dashed, some dotted, etc. I'm guessing the state of the Gnuplot process has gotten changed. If I set the plot_format to gnuplot, which executes a separate Gnuplot process instead of talking through a pipe, I see all solid lines as expected. ``` (%i5) plot2d (makelist (sin(k*x), k, 1, 10), [x, 0, 10], [plot_format, gnuplot]) $ ``` --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |