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


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

Re: Feature request : replot multiplot

From Michael <proximum@land.ru>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Feature request : replot multiplot
Date 2014-01-08 20:18 +0700
Organization A noiseless patient Spider
Message-ID <lajjp3$mbe$1@dont-email.me> (permalink)
References <bj3il0Fb18U1@mid.individual.net>

Show all headers | View raw


Maybe this would be helpful?

1.dat:
1 2
2 3
3 4
4 5

2.dat:
2 3
3 4
4 5
5 6

3.dat:
1 6
2 7
3 8
4 9

stats '1.dat' using 2 name 'A'
stats '2.dat' using 2 name 'B'
stats '3.dat' using 2 name 'C'

min_val=(A_min<B_min ? A_min : B_min)
min_val=(min_val<C_min ? min_val : C_min)
max_val=(A_max>B_max ? A_max : B_max)
max_val=(max_val>C_max ? max_val : C_max)

set size 1.,1.
set origin 0.,0.

set multiplot

set origin 0.0,0.0
set size 0.3,0.5
set yrange [min_val:max_val]
plot '1.dat' using 1:2 with linespoints


set origin 0.3,0.0
set size 0.3,0.5
set yrange [min_val:max_val]
plot '2.dat' using 1:2 with linespoints


set origin 0.6,0.0
set size 0.3,0.5
set yrange [min_val:max_val]
plot '3.dat' using 1:2 with linespoints

unset multiplot
reset

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


Thread

Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-07 23:58 +0000
  Re: Feature request : replot multiplot Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-01-08 09:12 +0100
    Re: Feature request : replot multiplot Karl <mail.kfr@gmx.net> - 2014-01-08 10:07 +0100
    Re: Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-08 10:50 +0000
      Re: Feature request : replot multiplot Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-01-08 19:20 +0100
        Re: Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-08 18:44 +0000
          Re: Feature request : replot multiplot Christoph Bersch <usenet@bersch.net> - 2014-01-08 20:05 +0100
            Re: Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-08 23:12 +0000
    Re: Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-08 10:51 +0000
      Re: Feature request : replot multiplot Karl <mail.kfr@gmx.net> - 2014-01-08 14:38 +0100
        Re: Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-08 13:47 +0000
      Re: Feature request : replot multiplot Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-01-08 19:23 +0100
  Re: Feature request : replot multiplot Karl <mail.kfr@gmx.net> - 2014-01-08 09:48 +0100
  Re: Feature request : replot multiplot Michael <proximum@land.ru> - 2014-01-08 15:47 +0700
  Re: Feature request : replot multiplot Michael <proximum@land.ru> - 2014-01-08 20:18 +0700
    Re: Feature request : replot multiplot John Edwards <johned0@gmail.com> - 2014-01-08 13:49 +0000

csiph-web