|
From: Jaime V. <vi...@fe...> - 2024-04-23 08:06:26
|
On 23/04/24 00:35, Robert Dodier wrote: > On Mon, Apr 22, 2024 at 2:15 PM Jaime Villate <vi...@fe...> wrote: >> plot2d ([sin(x), sin(2*x), sin(3*x)], [x, 0, 10], [style,[lines,1,2]]); >> >> Will plot the three curves with the same style, namely, lines of width >> equal to 1, and a color code 2 which stands for red. Very confusing, I >> know; it is a remnant from old versions of Gnuplot when it was harder to >> set the linetype that would work in all gnuplot terminals. Today I think >> I could do better. > Thanks for the information, with that I was able to figure out that > the trouble I was having was actually caused by an unexpected > interaction between the draw package and plot2d. I made a bug report > about that: > https://sourceforge.net/p/maxima/bugs/4294/ > > best, > > Robert This is all related to some big changes in the way Gnuplot defines line types and colors that were introduced, I believe, in version 4.6. I will take some time to think carefully a good way to update plot2d/plot3d in a way that it interacts well with draw, Gnuplot 5.4 and Gnuplot older than 4.6 (some users insist on using ancient versions of Gnuplot which are not compatible with the new ones). Regards, Jaime |