Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2423 > unrolled thread
| Started by | Michael Okuntsov <proximum@land.ru> |
|---|---|
| First post | 2014-04-24 15:58 +0700 |
| Last post | 2014-04-24 17:01 +0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Running window Michael Okuntsov <proximum@land.ru> - 2014-04-24 15:58 +0700
Re: Running window Karl <mail.kfr@gmx.net> - 2014-04-24 11:07 +0200
Re: Running window Michael Okuntsov <proximum@land.ru> - 2014-04-24 17:01 +0700
| From | Michael Okuntsov <proximum@land.ru> |
|---|---|
| Date | 2014-04-24 15:58 +0700 |
| Subject | Running window |
| Message-ID | <ljajoi$680$1@dont-email.me> |
Hello, I have a file with the data in following format: 2014-04-24_10:00:00 1.2345 ............................. It is plotting cyclically, using reread command. How to not plot whole file, but to make a "running window" of size, e.g., 30 minutes?
[toc] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2014-04-24 11:07 +0200 |
| Message-ID | <ljak9f$h1m$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2423 |
Am 24.04.2014 10:58, schrieb Michael Okuntsov: > Hello, > > I have a file with the data in following format: > > 2014-04-24_10:00:00 1.2345 > .............................. > > It is plotting cyclically, using reread command. > How to not plot whole file, but to make a "running window" of size, > e.g., 30 minutes? > after each plot, a number of status variables is updated. You can check them via show var GPVAL_ GPVAL_DATA_X_MAX keeps the maximum x from the last plot, so you can just set xrange [GPVAL_DATA_X_MAX-windowsize:*] before replot. Karl
[toc] | [prev] | [next] | [standalone]
| From | Michael Okuntsov <proximum@land.ru> |
|---|---|
| Date | 2014-04-24 17:01 +0700 |
| Message-ID | <5358E0F1.2010409@land.ru> |
| In reply to | #2424 |
On 24.04.2014 16:07, Karl wrote: > after each plot, a number of status variables is updated. You can check > them via > > show var GPVAL_ > > GPVAL_DATA_X_MAX keeps the maximum x from the last plot, so you can just > > set xrange [GPVAL_DATA_X_MAX-windowsize:*] > > before replot. > > > Karl > Thank you, it works.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web