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


Groups > comp.soft-sys.math.mathematica > #9370

Defining a value-specific ColorFunction for use in ListDensityPlot

From Andrew DeYoung <adeyoung@andrew.cmu.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Defining a value-specific ColorFunction for use in ListDensityPlot
Date 2012-04-03 08:48 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jledho$gvq$1@smc.vnet.net> (permalink)

Show all headers | View raw


Greetings,

I would like to create a ListDensityPlot in which the color is "deep"
blue for function values of -10 and "deep" red for function values of
+10, and varies linearly for function values in between -10 and +10.
(I'm plotting the electric potential on a surface of points (x,y); the
voltage ranges from -10 V to +10 V.)  Is there a way that I can create
such a ColorFunction for use in several ListDensityPlot plots?

Thank you so very much for your time!

Andrew DeYoung
Carnegie Mellon University

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Defining a value-specific ColorFunction for use in ListDensityPlot Andrew DeYoung <adeyoung@andrew.cmu.edu> - 2012-04-03 08:48 +0000

csiph-web