#338 Add no-backward-line style


Hello. I would like to have plotting style when connecting line is painted only in case the next x-coordinate is higher then the previous one.
I often have data in single file which look like:
x1 y1
x2 y2
xn yn
x'1 y'1
x'2 y'2
x'n y'n
where x1..xn and x'1..x'n is increasing sequence but there is trouble in xn->x'1 transition step which, using line style, paints long line across the output.
Could we add new style where such backward jumps are not visible?

Thanks for consideration.


  • Ethan Merritt

    Ethan Merritt - 2012-07-12

    There is an existing option
    plot .. smooth unique

    This sorts the points on x and combines duplicate entries. Does it do what you want?

  • Hans-Bernhard Broeker

    What you're supposed to do is insert blank lines into the data file where you want the polyline interrupted. See "help data"

  • hajaju

    hajaju - 2012-07-16

    Smooth unique is not what I want. But the plain line is the right solution.

  • hajaju

    hajaju - 2012-07-16
    • status: open --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks