gnuplot - Loopsteps are getting skipped when if statement is inserted -
I am amazed about the behavior of my conspiracy. I want to plot multiple files In the final file, I want different border settings so I came with an if statement. Looks like a script:
Label Icon = "0.01 0.02 0.05 0.1 0.15 0.1885 0.2 0.25" Outons = "0p01 0p02 0p05 0p1 0p15 0p1885 0p2 0p25" for [i = 1: 2] {Set limit 4 + 1 ## top (4) + bottom (1) if (i = word (label mark)) {border border 8 + 4 + 1} ## true (8) + up (4) + bottom (1 )} 'X' plot 'DataDet' U (column (I + 1)): 1 YL Left 1 LW 7 LC RGB (X-LLL 'Z ='. '# 444444'}
< P> When I run this script, only the last plot gets output. If I make the statement I have tried to add another statement, but nothing has changed.
Comments
Post a Comment