Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?windows-1252?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Iteration Over Multiple Columns from STDIN Date: Sun, 28 Sep 2014 21:58:01 +0200 Lines: 15 Message-ID: References: <05fdac0a-f528-4842-8e73-8e2ef48fa402@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de 6Nox/SudNimTeKhl6lCNMw/zJvJaJeXy6LXHCQPCNkWagt2VkpLuuDnb61 Cancel-Lock: sha1:aY7z0mQWHvVQA//LkQsT7bICVPA= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 In-Reply-To: <05fdac0a-f528-4842-8e73-8e2ef48fa402@googlegroups.com> Xref: csiph.com comp.graphics.apps.gnuplot:2606 Am 28.09.2014 um 16:32 schrieb jb_duffy@btinternet.com: > But, I can't seem to make iteration work for 2 columns of data... You need this to be: > gnuplot> plot for [i=1:2] '-' using 0:1 with lines > input data ('e' ends) > 1 > input data ('e' ends) > 2 > input data ('e' ends) > 3 > input data ('e' ends) > e > input data ('e' ends) > 3 > input data ('e' ends) > 4 > input data ('e' ends) > 5 > input data ('e' ends) > e