Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4285
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jörg Buchholz <bookwood4new@freenet.de> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Variable with counter |
| Date | Wed, 15 Jan 2020 08:20:10 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <qvmef9$m0p$1@dont-email.me> (permalink) |
| References | <qvkf04$kob$1@dont-email.me> <qvl17s$ss2$1@solani.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Wed, 15 Jan 2020 07:20:09 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="faf37ae726d75c600a2f34762adfbef1"; logging-data="22553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1UXkasa/SoIMBrvkVnRL1TMkzYix8TXM=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
| Cancel-Lock | sha1:5FPPIcej7+/5PLvyMrRLuA+9SnU= |
| In-Reply-To | <qvl17s$ss2$1@solani.org> |
| Content-Language | en-GB |
| Xref | csiph.com comp.graphics.apps.gnuplot:4285 |
Show key headers only | View raw
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