Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

The steady state of disks is full. -- Ken Thompson


computers / comp.graphics.apps.gnuplot / Variable with counter

SubjectAuthor
* Variable with counterJörg_Buchholz
`* Re: Variable with counterKarl Ratzsch
 `- Re: Variable with counterJörg_Buchholz

1
Subject: Variable with counter
From: Jörg_Buchholz
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Tue, 14 Jan 2020 13:16 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bookwood...@freenet.de (Jörg_Buchholz)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Variable with counter
Date: Tue, 14 Jan 2020 14:16:51 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <qvkf04$kob$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Jan 2020 13:16:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f51961d9d7658f5b576ce45d092354fd";
logging-data="21259"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Lh71hJHtrMAq4HAjpHmHkZbhhNF1cbYM="
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.4.1
Cancel-Lock: sha1:qazr6/9q+I7hpvnz5Yg/LaNVOB8=
Content-Language: en-GB
X-Mozilla-News-Host: news://news.eternal-september.org:119
View all headers
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.

Jörg


Subject: Re: Variable with counter
From: Karl Ratzsch
Newsgroups: comp.graphics.apps.gnuplot
Organization: solani.org
Date: Tue, 14 Jan 2020 18:28 UTC
References: 1
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mail....@gmx.net (Karl Ratzsch)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Variable with counter
Date: Tue, 14 Jan 2020 19:28:25 +0100
Organization: solani.org
Lines: 20
Message-ID: <qvl17s$ss2$1@solani.org>
References: <qvkf04$kob$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: solani.org 1579026493 29570 127.0.0.43 (14 Jan 2020 18:28:13 GMT)
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Tue, 14 Jan 2020 18:28:13 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.9.1
Cancel-Lock: sha1:7lGVdJGIn5n2FffIYuYByNYgNpE=
In-Reply-To: <qvkf04$kob$1@dont-email.me>
Content-Language: de-DE-1901
X-User-ID: eJwNwYkRwDAIA7CVQsA840A47z9CK0Fd/IU53ECwuX1C1n85visqbcCLnNm6LGXyFFVvreEDJCQREw==
View all headers
Something like "help arrays" ?


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.




Subject: Re: Variable with counter
From: Jörg_Buchholz
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Wed, 15 Jan 2020 07:20 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bookwood...@freenet.de (Jörg_Buchholz)
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>
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
View all headers
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.





1
rocksolid light 0.7.2
clearneti2ptor