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


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

ContourPlot ColorFunction Question

Started byJody Sorensen <jodo11@yahoo.com>
First post2011-06-03 08:36 +0000
Last post2011-06-03 08:36 +0000
Articles 1 — 1 participant

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


Contents

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

#2920 — ContourPlot ColorFunction Question

FromJody Sorensen <jodo11@yahoo.com>
Date2011-06-03 08:36 +0000
SubjectContourPlot ColorFunction Question
Message-ID<isa6f0$ae7$1@smc.vnet.net>
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

[toc] | [standalone]


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


csiph-web