Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: set the line colur value from a file Date: Fri, 26 May 2017 04:56:59 +0200 Organization: solani.org Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1495767427 10236 eJwFwQkBACAIA8BMoGwQR77+EbyzA0HxwnBtbaVJBGvbM2u4kk4VnUX1M80XHsG0A41J/y0AEYQ= (26 May 2017 02:57:07 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 26 May 2017 02:57:07 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Content-Language: en-GB X-NNTP-Posting-Host: eJwNwokVADEEBcCW4vhIOVj6LyH7ZiBG1q4GUyyWeuPk5OU5ImsfoVEoZ/JoZg353VGpo5V4GdUQmg== Cancel-Lock: sha1:iQGGKDWo0IeKV+R+gbJbAASuLRU= X-User-ID: eJwFwQkBwDAIA0BLUEjK5DAe/xJ6B6OyrhN0LPbXcIjvCfGmtc6ZbMFkxdY16YQoGZ0fA3wVZBDN In-Reply-To: Xref: csiph.com comp.graphics.apps.gnuplot:3650 Am 26.05.2017 um 02:31 schrieb anees.alhamzawi@gmail.com: > I am trying to plot vectors with different colours. The colour value is stored as a third column in the data file. > The question is that How could the "lc" has the third column value? > By giving the special keyword "variable" to "lc" and giving the third column as en extra fifth value for the "using" specifier, check "help vectors". That works for a number of other plot styles as well. plot fname us 1:1:($2-$1):(1):3 with vectors lc variable