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


Groups > comp.graphics.apps.gnuplot > #4185

Re: linespoint and every

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Ethan Merritt <eamerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: linespoint and every
Date Thu, 18 Apr 2019 21:00:00 -0000 (UTC)
Organization A noiseless patient Spider
Lines 37
Message-ID <q9aogg$bfr$1@dont-email.me> (permalink)
References <ghrsf3FhaiU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Thu, 18 Apr 2019 21:00:00 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="b00e7e5d37f1a64203b0c9349b269ff8"; logging-data="11771"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+z2zWCvZwoTAiWAofCvbWB"
User-Agent Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
Cancel-Lock sha1:gHfJCCFy9MlKtpH07TRH+whgZCE=
Xref csiph.com comp.graphics.apps.gnuplot:4185

Show key headers only | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

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

csiph-web