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

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: set the line colur value from a file
Date 2017-05-26 04:56 +0200
Organization solani.org
Message-ID <og85i3$9vs$1@solani.org> (permalink)
References <d184e39f-cbc3-49d0-b64a-79f5908c7b01@googlegroups.com>

Show all headers | 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