Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg499] ConstrainedContourPlot
  • From: Roque Donizete de Oliveira <oliveria at>
  • Date: Thu, 2 Mar 1995 16:46:36 -0500

I posted this question to sci.math.symbolic and got no replies.
Let me try it here.
I am using ConstrainedContour from Tom Wickham-Jones's 
book "Mathematica Graphics: Techniques and Applications".

ConstrainedContourPlot[ x y, y > x^2 - 1, 
            {x, -1.5, 1.5}, {y,-1.5, 1.5}, 
            Contours -> {-1.}, ContourShading -> False]

I can't figure out how to draw the contours using
the ContourStyle that I specify. For example, adding
the ContourStyle option:

ConstrainedContourPlot[ x y, y > x^2 - 1, 
            {x, -1.5, 1.5}, {y,-1.5, 1.5},
            ContourStyle-> {RGBColor[1,0,0],RGBColor[0,1,0]}, 
            Contours -> {-1.}, ContourShading -> False]

makes no difference in the output.

Looking at the file ConstrainedContour.m we can see that
ContourStyle was hardcoded to draw lines of different tickness.
I tried manually changing ConstrainedContour.m to get colored 
contours but it breaks the program.

Does anyone has any suggestions ?


  oliveria at

  • Prev by Date: Re: problem with Mathematica
  • Next by Date: Re: Remote Kernel
  • Previous by thread: BarCharts and vertical axes origin
  • Next by thread: higher dimensional spline