I tried to build the next
plot for [h=0:2:0.1] sin(h*x)
But it gives the following error:
gnuplot> plot for [h=0:2:0.1] sin(x*h)
                     ^
         Expecting iterator     for [<var> = <start> : <end> {: <incr>}]
         or for [<var> in "string of words"]
But the next line works just fine
plot for [h=0:2:1.1] sin(x*h)
Is this a mistake, or should it work that way? I mean, why doesn't it accept increments less than 1?
I am using the next version of gnuplot
G N U P L O T
Version 5.0 patchlevel 1    last modified 2015-06-07 
source
share