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


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

ContourPlot ColorFunction Question

From Jody Sorensen <jodo11@yahoo.com>
Newsgroups comp.soft-sys.math.mathematica
Subject ContourPlot ColorFunction Question
Date 2011-06-03 08:36 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <isa6f0$ae7$1@smc.vnet.net> (permalink)

Show all headers | View raw


I'm new to this list and possibly out of my depth, but I'd appreciate any help on this issue. 

We are trying to plot an implicit function using ContourPlot and have the points on the curve colored based on the x and y values (which we call c and x) - specifically based on the value of the derivative. 

We have tried things like the following without success, even though similar commands work with Plot: 
ContourPlot[x^2+c = x, {c, -2, 2}, {x, -2, 2},
 ColorFunction -> (If[2 #1 > 1, Red, Green] &)]

Any suggestions or solutions would be great to hear!

Thanks!
Jody Sorensen

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


Thread

ContourPlot ColorFunction Question Jody Sorensen <jodo11@yahoo.com> - 2011-06-03 08:36 +0000

csiph-web