Menu

#2827 "show linetype 0" fails with error message

None
closed-fixed
nobody
None
2025-12-14
2025-08-26
No

Hello,

running the "test" command, a test plot is generated. The test plot contains lines with linetypes -1 to 20. That's helpful.

However, when you issue the command "show linetypes", only the definition of linetypes 1 through 8 are printed. I understand that gnuplot by default re-cycles these definitions for linetypes with number greater than 8.

What about linetypes 0 and -1?

Note that the command "show linetype 0" fails with error message " tag must be > zero" altough "plot sin(x) lt 0" and "plot sin(x) lt -1" are valid commands and generate a plot.

In my opinion, at least the definition of linetype 0 should be printed as it is used in the default grid.

I hope that makes sense to you.
Cheers
Daniel

Discussion

  • Ethan Merritt

    Ethan Merritt - 2025-08-27
    • status: open --> pending-fixed
    • Group: -->
    • Priority: -->
     
    👍
    1
  • Ethan Merritt

    Ethan Merritt - 2025-12-14
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB