X-Received: by 10.13.203.13 with SMTP id n13mr19388255ywd.40.1435579219668; Mon, 29 Jun 2015 05:00:19 -0700 (PDT) X-Received: by 10.140.99.44 with SMTP id p41mr159884qge.3.1435579219612; Mon, 29 Jun 2015 05:00:19 -0700 (PDT) Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!j5no1132830qga.1!news-out.google.com!w15ni9114qge.0!nntp.google.com!z60no1055238qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 29 Jun 2015 05:00:19 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=80.169.36.118; posting-account=7h_KwgoAAADf36bCBDmmHSKSgOMzfVMx NNTP-Posting-Host: 80.169.36.118 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2a2403cb-fe62-49dc-bb73-6127a946027a@googlegroups.com> Subject: reduce plot line occurance From: dxtans@gmail.com Injection-Date: Mon, 29 Jun 2015 12:00:19 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.graphics.apps.gnuplot:2958 Hello, I have a conf file which can plot many lines depending on the file, So I have tried using the do for loop , but keep getting invalid expression. Can anyone point me in the direction, where I can reduce the number of plot lines below, into a for loop. ver: 4.6 Thanks DT plot 'versions.txt' u 2:xtic(1) title columnheader, \ '' u 3:xtic(1) title columnheader, \ '' u 4:xtic(1) title columnheader, \ '' u 5:xtic(1) title columnheader, \ '' u 6:xtic(1) title columnheader, \ '' u 7:xtic(1) title columnheader, \ '' u 8:xtic(1) title columnheader