MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Color according to concavity

  • To: mathgroup at
  • Subject: [mg128829] Color according to concavity
  • From: Sergio Miguel Terrazas Porras <sterraza at>
  • Date: Thu, 29 Nov 2012 06:04:46 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Dear fellows at mathgroup:

I want to plot a function with the color of the parts of the curve according to concavity, say Red when concve down an blue when concave up.

I can do it by brute force, finding whwn the second derivative is cero, and then finding the sign of it in the different intervals, etc. This for particular examples.

But, is there a way to use the second derivative as part of a ColorFunction, or something like that?


  • Prev by Date: Re: Help with dynamic functionality
  • Next by Date: Re: Manually tell Mathematica how to evaluate integrals
  • Previous by thread: Integral that should converge, but Mathematica says it does not
  • Next by thread: Re: Color according to concavity