Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to increase distance between symbols using linespoints when plotting data sets

401 views
Skip to first unread message

Sven Zeisberg

unread,
Jun 27, 2001, 11:31:47 AM6/27/01
to
I have some data sets to be plotted and want the resulting curves to be
smooth.
So data sets contain apprx. 100 data pairs. Trying linespoints actually
brings up
the same number of symbols as data pairs. Is there a way to tell gnuplot
only to
display symbols at a certain distance or lets say only every 10th symbol or
so,
while still using all data pairs to get a smooth underlying solid curve?

Thanks for help in advance.

Sven

Hans-Bernhard Broeker

unread,
Jun 27, 2001, 2:04:47 PM6/27/01
to
Sven Zeisberg <Zeis...@web.de> wrote:

> linespoints actually brings up the same number of symbols as data
> pairs. Is there a way to tell gnuplot only to display symbols at a
> certain distance or lets say only every 10th symbol or so, while
> still using all data pairs to get a smooth underlying solid curve?

Yes. You can plot lines and points separately, and use 'every 10' for
the 'points' one:

plot 'datafile' u 1:2 with lines, '' every 10 u 1:2 with points

You may want to add 'linetype' and 'pointtype' options.

--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Sven Zeisberg

unread,
Jun 28, 2001, 3:44:08 AM6/28/01
to
Thanks for the hint, it works well.
Sven


Hans-Bernhard Broeker <bro...@physik.rwth-aachen.de> schrieb in im
Newsbeitrag: 9hd77v$3pm$1...@nets3.rz.RWTH-Aachen.DE...

0 new messages