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


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

Re: exit from the reread loop

From Michael <proximum@land.ru>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: exit from the reread loop
Date 2014-03-14 17:06 +0700
Organization A noiseless patient Spider
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>

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar


Thread

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