Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4184 > unrolled thread

linespoint and every

Started byOlaf Schultz <o.schultz@enhydralutris.de>
First post2019-04-18 20:03 +0200
Last post2019-04-18 21:00 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  linespoint and every Olaf Schultz <o.schultz@enhydralutris.de> - 2019-04-18 20:03 +0200
    Re: linespoint and every Ethan Merritt <eamerritt@gmail.com> - 2019-04-18 21:00 +0000

#4184 — linespoint and every

FromOlaf Schultz <o.schultz@enhydralutris.de>
Date2019-04-18 20:03 +0200
Subjectlinespoint and every
Message-ID<ghrsf3FhaiU1@mid.individual.net>
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

[toc] | [next] | [standalone]


#4185

FromEthan Merritt <eamerritt@gmail.com>
Date2019-04-18 21:00 +0000
Message-ID<q9aogg$bfr$1@dont-email.me>
In reply to#4184
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web