X-Received: by 10.157.25.23 with SMTP id j23mr11583197ota.38.1495758668517; Thu, 25 May 2017 17:31:08 -0700 (PDT) X-Received: by 10.157.39.138 with SMTP id c10mr404126otb.9.1495758668441; Thu, 25 May 2017 17:31:08 -0700 (PDT) Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!67no521381itx.0!news-out.google.com!v18ni2143ita.0!nntp.google.com!67no521372itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Thu, 25 May 2017 17:31:08 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.102.82.16; posting-account=SunGigoAAAAOqXGEvujRsOqJIZZUjfBG NNTP-Posting-Host: 130.102.82.16 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: set the line colur value from a file From: anees.alhamzawi@gmail.com Injection-Date: Fri, 26 May 2017 00:31:08 +0000 Content-Type: text/plain; charset="UTF-8" Xref: csiph.com comp.graphics.apps.gnuplot:3649 Dear All, I am trying to plot vectors with different colours. The colour value is stored as a third column in the data file. For example, let us say the datafile is "a.tx" contains 0.603358 2.022173 1 1.08929 2.039982 2 1.588976 2.040512 3 The typical plot is plot 'a.txt' using 1:1:($2-$1):(0) notitle with vectors heads size screen 0.008,90 lc 2 The question is that How could the "lc" has the third column value?