Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4185
| From | Ethan Merritt <eamerritt@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: linespoint and every |
| Date | 2019-04-18 21:00 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <q9aogg$bfr$1@dont-email.me> (permalink) |
| References | <ghrsf3FhaiU1@mid.individual.net> |
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 | Next — Previous in thread | Find similar
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