Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Feature request : replot multiplot Date: Wed, 08 Jan 2014 20:18:54 +0700 Organization: A noiseless patient Spider Lines: 53 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 8 Jan 2014 13:28:03 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="83b9b731595c348001c3614e7f799159"; logging-data="22894"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aVqYdJ/YTc8UjA+oSyATL" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 In-Reply-To: Cancel-Lock: sha1:3jLPrT8cYWWADMJt22vKrwJaLW0= Xref: csiph.com comp.graphics.apps.gnuplot:2239 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_minB_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