Discussion:
how to replace "reread" in a loop?
(too old to reply)
Jörg Buchholz
2024-10-21 11:34:11 UTC
Permalink
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?


Jörg
Jörg Buchholz
2024-10-22 06:04:16 UTC
Permalink
Post by Jörg Buchholz
Hi, I have a old script that use the reread command in some loops.
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.

Loading...