Discussion:
fence data gnuplot
(too old to reply)
mfduqued
2020-02-14 15:30:52 UTC
Permalink
Hi community,

I have a file with 70 (rows) and 8 (columns), every 3 columns change this plot.
I plot as
splot "data" u 1:2:3 t "1", "" u 1:2:4 t "2"

But I want now to plot like fenceplots where the column 3 vs the column 1, and each plot this is separated a value.

How do I do this??,
Thanks very much for ani suggestions
Jörg Buchholz
2020-02-19 10:17:52 UTC
Permalink
Post by mfduqued
Hi community,
I have a file with 70 (rows) and 8 (columns), every 3 columns change
this plot. I plot as splot "data" u 1:2:3 t "1", "" u 1:2:4 t "2"
But I want now to plot like fenceplots where the column 3 vs the
column 1, and each plot this is separated a value.
How do I do this??, Thanks very much for ani suggestions
May help this example?

Datafile 'fence.dat':
4 6 5 9 2 7 6
5 7 3 2 7 2 8
7 3 9 3 2 1 0
7 5 2 8 1 2 8
5 2 9 4 2 6 1

set xrange [0:8]
set xyplane relative 0
splot for [i=1:7] 'fence.dat' u (0.0+i):0:i:(0.0):i w zerrorfill

Jörg

Loading...