Re: Nonlinear color bar question
"Philipp K. Janert" <[email protected]> Fri, 24 Apr 2026 11:39:54 -0400
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <20260424113954.651d2600@puget> |
On Wed, 22 Apr 2026 14:43:17 +0000 Patrick Alken via gnuplot-info <[email protected]> wrote: For gradients: set palette defined ( 0 "red", 0.1 "white", 1 "blue" ) For sharp transitions, double the position param: set palette defined ( 0 "red", 0.1 "red", 0.1 "white", 0.2 "white", 0.2 "blue", 1 "blue" ) Either way: plot "data" u 1:2:3 lc pal Also check: test palette Note: The positions w/in "set palette" are relative, they do not (automatically) correspond to values from the plot range. Also consider: set cbrange Best, Ph. > Hello, > > I am struggling to make a plot with a nonlinear color bar. I want > the colors themselves to be nonlinear rather than the tic marks. My > detailed question is here: > > https://stackoverflow.com/questions/79929626/how-to-make-a-nonlinear-color-bar > > Any help is appreciated, > Patrick > > _______________________________________________ > gnuplot-info mailing list > [email protected] > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- Philipp K. Janert www.janert.me _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info