Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3445
| From | John Edwards <johned0@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Varying colour of a line plot, using a palette |
| Date | 2016-11-11 10:23 +0000 |
| Message-ID | <e8lkghFdu6eU1@mid.individual.net> (permalink) |
| References | <e8j2gjFpuv0U1@mid.individual.net> <o02avs$6hi$2@solani.org> |
On 10/11/2016 17:32, Karl Ratzsch wrote: > Am 10.11.2016 um 12:03 schrieb John Edwards: >> 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. > > please answer in the newsgroup, not via email > Hi Karl, Thanks very much, for the very quick and useful response. Also apologies for the reply via email - user error on my part. It has made me wonder if I can tweak your technique to implement a "set palette rgb" type of function as used in splot etc. All the best, John
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
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