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


Groups > comp.soft-sys.math.mathematica > #6626 > unrolled thread

Re: Is it possible to define new color schemes?

Started byBob Hanlon <hanlonr357@gmail.com>
First post2011-11-22 10:45 +0000
Last post2011-11-22 10:45 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Is it possible to define new color schemes? Bob Hanlon <hanlonr357@gmail.com> - 2011-11-22 10:45 +0000

#6626 — Re: Is it possible to define new color schemes?

FromBob Hanlon <hanlonr357@gmail.com>
Date2011-11-22 10:45 +0000
SubjectRe: Is it possible to define new color schemes?
Message-ID<jafug5$rt7$1@smc.vnet.net>
DensityPlot[Sin[x] Sin[y], {x, -4, 4}, {y, -3, 3},
 ColorFunction -> (Blend[{Red, Yellow}, #] &)]

You can replace {Red, Yellow} with your end colors and the # with f[#]
where f is an interpolation function for your data points.


Bob Hanlon

On Mon, Nov 21, 2011 at 4:28 AM, Darau, M. <M.Darau@tue.nl> wrote:
> Hello,
>
> Is it possible to define a new gradient color scheme to use in DensityPlot? If so, how can I do that? I know the RGB of the end colors, and maybe 2-3 intermediate ones.
>
> Thanks,
> Mirela
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web