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


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

Varying colour of a line plot, using a palette

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From John Edwards <johned0@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Varying colour of a line plot, using a palette
Date Thu, 10 Nov 2016 11:03:44 +0000
Lines 11
Message-ID <e8j2gjFpuv0U1@mid.individual.net> (permalink)
Reply-To johned0@gmail.com
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net QpUU0s4VXGloHcCk4GfKNwQy0/OGtyY/ZWvhZwDCq1xIJiTu3O
Cancel-Lock sha1:XXlTFGVtiz0ylDJMmF0SpBcWHoY=
X-Mozilla-News-Host news://news.individual.net:119
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
Xref csiph.com comp.graphics.apps.gnuplot:3441

Show key headers only | View raw


Dear all,
I was wondering if anyone can think of a neat trick to vary the color of 
a line according to magnitude. E.g. If I plot sin(x) I'd like the color 
to vary with signal matnitude.

To explain further what I am trying to do, I'd like to use a palette of 
greens and reds so that when the signal goes over a threshold then the 
plot would vary (slowly) from green to red to highlight specific issues.

Thanks very much, as always,
John

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


Thread

Varying colour of a line plot, using a palette John Edwards <johned0@gmail.com> - 2016-11-10 11:03 +0000
  Re: Varying colour of a line plot, using a palette Karl Ratzsch <mail.kfr@gmx.net> - 2016-11-10 13:37 +0100
    Re: Varying colour of a line plot, using a palette Ethan A Merritt <sfeam@users.sourceforge.net> - 2016-11-10 15:36 -0800
      Re: Varying colour of a line plot, using a palette John Edwards <johned0@gmail.com> - 2016-11-11 10:24 +0000
  Re: Varying colour of a line plot, using a palette Karl Ratzsch <mail.kfr@gmx.net> - 2016-11-10 18:32 +0100
    Re: Varying colour of a line plot, using a palette John Edwards <johned0@gmail.com> - 2016-11-11 10:23 +0000

csiph-web