Opened 8 years ago

Last modified 8 years ago

#52698 assigned defect

gnuplot 5.0.5 dash type not working

Reported by: Baaaaam (Mouginot Baptiste) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: gnw3
Port: gnuplot

Description (last modified by larryv (Lawrence Velázquez))

After updating gnuplot to 5.0.5 I was not able to plot with dashed line any more: gnuplot @5.0.5_0+aquaterm+luaterm+pangocairo+wxwidgets+x11

reverting to gnuplot @5.0.4_0+aquaterm+luaterm+pangocairo+wxwidgets+x11 fixes it...

here is an example of an not working script:

set key bottom right
plot [0.25:300][5:15] '1.dat' every ::1 using 1:2 with lines lw 2 dashtype 1 lc rgb "red" 1", \
  '2.dat' every ::1 using 1:2 with lines lw 2 lt 2 dt 2 lc rgb "red" title "2", \
  '3.dat' every ::1 using 1:2 with lines lw 2 dashtype 1 lc rgb "orange"  title "3", \
  '4.dat' every ::1 using 1:2 with lines lw 2 lt 2 dt 2 lc rgb "orange" title "4"

I using a MBpro early 2015, using MACOS 10.11.6

Attachments (2)

gnuplot-aquaterm-5.0.4.png (133.6 KB) - added by mojca (Mojca Miklavec) 8 years ago.
Working dashes in AquaTerm with gnuplot 5.0.4
gnuplot-aquaterm-5.0.5.png (136.2 KB) - added by mojca (Mojca Miklavec) 8 years ago.
Working dashes in AquaTerm with gnuplot 5.0.5

Download all attachments as: .zip

Change History (10)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to mojca
Status: newassigned

comment:2 Changed 8 years ago by mojca (Mojca Miklavec)

Version: 2.3.4

Can you please provide a standalone more precise example? That is, try to plot sin(x) and similar rather than making the example depend on a specific data file. And specify which terminal you are using.

Under both versions dashtype 1 creates a solid line for me, but dashtype 2 works as expected. There is also a problem with quotation marks in the first line ("red" 1").

comment:3 Changed 8 years ago by gnw3

Cc: gnw3 added

comment:4 Changed 8 years ago by gnw3

For examples, you can use:

GNUTERM=aqua gnuplot  /opt/local/share/doc/gnuplot/demo/dashcolor.dem
GNUTERM=x11 gnuplot  /opt/local/share/doc/gnuplot/demo/dashcolor.dem

Aquaterm is not showing dashes and there are problems with the character point symbols "star" "asterisk?", "smiley" for both terminals.

Changed 8 years ago by mojca (Mojca Miklavec)

Attachment: gnuplot-aquaterm-5.0.4.png added

Working dashes in AquaTerm with gnuplot 5.0.4

Changed 8 years ago by mojca (Mojca Miklavec)

Attachment: gnuplot-aquaterm-5.0.5.png added

Working dashes in AquaTerm with gnuplot 5.0.5

comment:5 Changed 8 years ago by mojca (Mojca Miklavec)

OK, I can confirm the behaviour (images in attachments). I'll report this upstream.

As far as smilies are concerned, they probably never even worked in AquaTerm, additional support would have to be added to the terminal to make that work.

comment:6 Changed 8 years ago by mojca (Mojca Miklavec)

Can you please confirm whether the following works for you?

set term aqua dashed
plot sin(x) with lines dashtype 2

It works for me with both versions at least. I need to find a minimal example that's broken, so that I know what to report exactly.

comment:7 Changed 8 years ago by Baaaaam (Mouginot Baptiste)

this is also working for me.

deeply sorry for the response delays...

I add problem in "png" with both star and numbers...

comment:8 Changed 8 years ago by mojca (Mojca Miklavec)

In any case it makes a lot more sense to upload these to the upstream bug tracker than here.

Note: See TracTickets for help on using tickets.