Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6626 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2011-11-22 10:45 +0000 |
| Last post | 2011-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.
Re: Is it possible to define new color schemes? Bob Hanlon <hanlonr357@gmail.com> - 2011-11-22 10:45 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2011-11-22 10:45 +0000 |
| Subject | Re: 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
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web