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


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

How to get out of an endless loop ?

X-Received by 10.36.40.72 with SMTP id h69mr18199266ith.37.1516310580619; Thu, 18 Jan 2018 13:23:00 -0800 (PST)
X-Received by 10.157.90.130 with SMTP id w2mr292734oth.14.1516310580498; Thu, 18 Jan 2018 13:23:00 -0800 (PST)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!w142no427319ita.0!news-out.google.com!b73ni1352ita.0!nntp.google.com!w142no427310ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 18 Jan 2018 13:23:00 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=94.225.14.202; posting-account=6Yi6UAoAAAAPa9I7jpXT9nwJvAd0_-hC
NNTP-Posting-Host 94.225.14.202
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <b72d610b-8ff5-49f7-8635-29b53e4785b9@googlegroups.com> (permalink)
Subject How to get out of an endless loop ?
From robertvanpass@gmail.com
Injection-Date Thu, 18 Jan 2018 21:23:00 +0000
Content-Type text/plain; charset="UTF-8"
Lines 10
Xref csiph.com comp.graphics.apps.gnuplot:3859

Show key headers only | View raw


Hi,

I have a datafile which is continuously updated.
To plot this, I use an endless loop (simplified):

plot datafile
while (1) {pause 1 ; replot}

How can I pause/unpause and stop this loop without exiting Gnuplot altogether ?

Thanks already.

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


Thread

How to get out of an endless loop ? robertvanpass@gmail.com - 2018-01-18 13:23 -0800
  Re: How to get out of an endless loop ? Ethan Merritt <sfeam@users.sf.net> - 2018-01-19 02:20 +0000

csiph-web