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


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

Plot 2D, from a file that contains blocked data every time x changes.

Newsgroups comp.graphics.apps.gnuplot
Date 2017-03-11 12:32 -0800
Message-ID <dd09bb03-a5be-49a7-90cb-1788eb6db4f4@googlegroups.com> (permalink)
Subject Plot 2D, from a file that contains blocked data every time x changes.
From David Carrasco de Busturia <davidcarrascobustur@gmail.com>

Show all headers | View raw


I have a data.dat file that looks like:

# z      y      x
25.04   12.50  10.00
24.01   11.30  10.00
25.03   12.50  10.00
22.01   14.20  10.00

27.05   14.28  20.00
28.01   12.30  20.00
27.70   13.37  20.00
27.10   14.08  20.00

30.20   16.22  30.00
31.22   17.01  30.00
32.01   17.02  30.00
32.44   16.32  30.00
.
.
.

Following the instructions posted on section 3.9 of FAQ (http://www.gnuplot.info/faq/faq.html#x1-320003.9), I
I generated that file intentionally with a blank space every time the x value changes, in order to achieve a final splot of z as a function of x and y.

Now, in the same gnuplot script, I would need to plot 2D graphs in which:

I plot the variation of z as a function of y for different values of x.

Is there a way to do this on gnuplot on the same script ?

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


Thread

Plot 2D, from a file that contains blocked data every time x changes. David Carrasco de Busturia <davidcarrascobustur@gmail.com> - 2017-03-11 12:32 -0800
  Re: Plot 2D, from a file that contains blocked data every time x changes. Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-12 11:28 +0100
    Re: Plot 2D, from a file that contains blocked data every time x changes. Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-12 11:29 +0100

csiph-web