Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2344
| 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 <proximum@land.ru> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: exit from the reread loop |
| Date | Fri, 14 Mar 2014 17:06:19 +0700 |
| Organization | A noiseless patient Spider |
| Lines | 26 |
| Message-ID | <lfukar$f50$1@dont-email.me> (permalink) |
| References | <lft1hp$edf$1@dont-email.me> <lfuego$2fd$1@news.rz.uni-karlsruhe.de> <lfugsj$nit$1@dont-email.me> <lfujjr$4c8$1@news.rz.uni-karlsruhe.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Fri, 14 Mar 2014 10:06:19 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="35a26602bb90c688811ddf6aa0fd5b56"; logging-data="15520"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pXXsHb8ri47pyK0uJC8F/" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.0 |
| In-Reply-To | <lfujjr$4c8$1@news.rz.uni-karlsruhe.de> |
| Cancel-Lock | sha1:Oa7xcS2IhBPjtM0P4l7fPQwPSPQ= |
| Xref | csiph.com comp.graphics.apps.gnuplot:2344 |
Show key headers only | View raw
14.03.2014 16:54, Karl пишет:
> You could check for differences between the last two plots. Say the x
> axis in your plot gets ever longer:
>
> ====
>
> if (!exists("nowmaxx")) nowmaxx = 0 # initialize the variable
>
> lastmaxx = nowmaxx
> nowmaxx = GPVAL_DATA_X_MAX
>
> plot ...
>
> if (lastmaxx <> nowmaxx) reread
>
> ====
>
> there are other GPVAL_ status variables that are updated after every
> plot. Or you could use "stats" on your datafile, and use one of the
> stats status variables.
>
> K
>
Oh, thanks! I just wasn't sure what condition should I use for exiting.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
exit from the reread loop Michael Okuntsov <proximum@land.ru> - 2014-03-14 02:40 +0700
Re: exit from the reread loop Karl <mail.kfr@gmx.net> - 2014-03-14 09:27 +0100
Re: exit from the reread loop Michael <proximum@land.ru> - 2014-03-14 16:07 +0700
Re: exit from the reread loop Karl <mail.kfr@gmx.net> - 2014-03-14 10:54 +0100
Re: exit from the reread loop Michael <proximum@land.ru> - 2014-03-14 17:06 +0700
Re: exit from the reread loop Karl <mail.kfr@gmx.net> - 2014-03-19 16:03 +0100
Re: exit from the reread loop Karl <mail.kfr@gmx.net> - 2014-03-19 16:06 +0100
Re: exit from the reread loop Michael Okuntsov <proximum@land.ru> - 2014-03-19 23:50 +0700
csiph-web