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


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

How not to plot the returning lines

Newsgroups comp.graphics.apps.gnuplot
Date 2015-02-07 17:37 -0800
Message-ID <744520ed-5925-46b5-98c5-1768aa239d87@googlegroups.com> (permalink)
Subject How not to plot the returning lines
From vuokkosetae@gmail.com

Show all headers | View raw


Hi!

I have data which has increasing value in first column (x-axes data)and
I want to plot the second column on y-axes. Now when the counter wraps
I get also wrap in my plot. The line returns back to the left and
I don't want that.

I want the same red line to draw many times those lines,
not start to breaking the file and searching the counter wrap.

What is the magical plot only forward command?

I have done small test case.

test.data
0 1
1 2
2 3
3 4
0 3   
1 4 
2 5 
3 1 

other.data
0 1 3
1 2 4
2 3 5
3 4 1

test.gnuplot

set style data lines
set terminal postscript eps color
set output "test.eps"
plot 'test.data' using 1:2 title "I get this", \
'other.data' using 1:2 title "I want this", \
'' using 1:3 title "and this"

Best regards,
Hannu Vuolasaho

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


Thread

How not to plot the returning lines vuokkosetae@gmail.com - 2015-02-07 17:37 -0800
  Re: How not to plot the returning lines Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-02-08 15:55 +0100
    Re: How not to plot the returning lines vuokkosetae@gmail.com - 2015-02-08 07:52 -0800

csiph-web