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


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

Re: set the line colur value from a file

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
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 <og85i3$9vs$1@solani.org> (permalink)
References <d184e39f-cbc3-49d0-b64a-79f5908c7b01@googlegroups.com>
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 <d184e39f-cbc3-49d0-b64a-79f5908c7b01@googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:3650

Show key headers only | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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