Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4285
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Variable with counter |
| Date | 2020-01-15 08:20 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <qvmef9$m0p$1@dont-email.me> (permalink) |
| References | <qvkf04$kob$1@dont-email.me> <qvl17s$ss2$1@solani.org> |
On 14.01.2020 19:28, Karl Ratzsch wrote:
> Something like "help arrays" ?
Thanks for the hint.
array B[4]
do for [i=1:4]{
stats 'test.csv' every ::3:i:7:i u 6 nooutput
B[i] = STATS_min
}
This works.
Jörg
>
> Am 14.01.2020 um 14:16 schrieb Jörg Buchholz:
>> Hello,
>>
>> is it possible to create variables with a counter, like A1, A2, A3 and
>> so on?
>>
>> What I want do do is the following:
>>
>> do for [i=1:4]{
>> stats 'test.csv' every ::3:i:7:i u 6 nooutput
>> print STATS_min
>> }
>>
>> This print the min value from block 1 - 4 to the display. But I want to
>> have it at 4 different variables, like B1, B2, B3, B4.
>
>
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Variable with counter Jörg Buchholz <bookwood4new@freenet.de> - 2020-01-14 14:16 +0100
Re: Variable with counter Karl Ratzsch <mail.kfr@gmx.net> - 2020-01-14 19:28 +0100
Re: Variable with counter Jörg Buchholz <bookwood4new@freenet.de> - 2020-01-15 08:20 +0100
csiph-web