Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3649

set the line colur value from a file

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 <d184e39f-cbc3-49d0-b64a-79f5908c7b01@googlegroups.com> (permalink)
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

Show key headers only | View raw


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?

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

set the line colur value from a file anees.alhamzawi@gmail.com - 2017-05-25 17:31 -0700
  Re: set the line colur value from a file Karl Ratzsch <mail.kfr@gmx.net> - 2017-05-26 04:56 +0200

csiph-web