• linespoint and every

    From Olaf Schultz@21:1/5 to All on Thu Apr 18 20:03:15 2019
    Moin,

    I want to plot spectrum data (approx 260 nodes) for approx 10 sets of data.

    with "set style data lines" (only color for differentiation) gets
    misleading due to only small difference in some colors in the print.

    with "set style data linespoints"... good to seperate but too many
    points overloading the plot.

    Is there an option to plot the full set with lines and the point only
    every n nodes?

    My brute force solution would be to plot the first set with lines define
    colors and then a second set with points every lc as previous and empty title... not very handsome in maintaing and maybe a smarter solution is available?

    I'am Currently running gnuplot 5.2 pl6

    Greetings,

    Olaf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ethan Merritt@21:1/5 to Olaf Schultz on Thu Apr 18 21:00:00 2019
    On Thu, 18 Apr 2019 20:03:15 +0200, Olaf Schultz wrote:

    Moin,

    I want to plot spectrum data (approx 260 nodes) for approx 10 sets of data.

    with "set style data lines" (only color for differentiation) gets
    misleading due to only small difference in some colors in the print.

    with "set style data linespoints"... good to seperate but too many
    points overloading the plot.

    Is there an option to plot the full set with lines and the point only
    every n nodes?

    Yes, this is property "pointinterval" (abbreviation "pi")

    plot "foo" with linespoints pt 9 pi 10 # solid triangle every 10th point

    If you give a negative number then the symbol gets whitespace around it,
    which makes it stand out more

    set pointintervalbox 2.0
    plot "foo" with linespoints pt 9 pi -10 # nicer version (IMHO)


    My brute force solution would be to plot the first set with lines define colors and then a second set with points every lc as previous and empty title... not very handsome in maintaing and maybe a smarter solution is available?

    I'am Currently running gnuplot 5.2 pl6

    Greetings,

    Olaf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)