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


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

Re: how to replace "reread" in a loop?

Path csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: how to replace "reread" in a loop?
Date Tue, 22 Oct 2024 08:04:16 +0200
Organization A noiseless patient Spider
Lines 30
Message-ID <vf7f8v$1c8es$1@dont-email.me> (permalink)
References <vf5e7j$u3ut$1@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 22 Oct 2024 08:04:15 +0200 (CEST)
Injection-Info dont-email.me; posting-host="fe3809f5c4bd63cca4eae66494b68b21"; logging-data="1450460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lNa0Vo+wpOaIEBlsipC6HERskfGAFYm4="
User-Agent Mozilla Thunderbird
Cancel-Lock sha1:23lunRqDYc1gYgiqXUkjY/f0QhY=
In-Reply-To <vf5e7j$u3ut$1@dont-email.me>
Content-Language de-DE
Xref csiph.com comp.graphics.apps.gnuplot:4674

Show key headers only | View raw


On 21.10.2024 13:34, Jörg Buchholz wrote:
> Hi, I have a old script that use the reread command in some loops.
> 
> example:
> 
> The file "line1.loop" contains
> 
>     l1 = 1/(1-l)
>     b = log10(log10(l1))
>     set arrow from a2,b to b2,b nohead lt 0
>     l = l + 0.001
>     if(l<0.01) reread
> 
> and in the main script is
> 
>      load 'line1.loop'
> 
> 
> This works from gnuplot 2.x to 5.4 but not in 6.x.
> 
> Is there a way to use this very old gnuplot-script?
> 

do for [l=1:10]{
    l1 = 1/(1-(l/1000.0))
    b = log10(log10(l1))
    set arrow from a2,b to b2,b nohead lt 0
}

replace it.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

how to replace "reread" in a loop? Jörg Buchholz <bookwood4new@freenet.de> - 2024-10-21 13:34 +0200
  Re: how to replace "reread" in a loop? Jörg Buchholz <bookwood4new@freenet.de> - 2024-10-22 08:04 +0200

csiph-web