ConstrainedContourPlot
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg499] ConstrainedContourPlot
- From: Roque Donizete de Oliveira <oliveria at engin.umich.edu>
- 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".
Example:
<<ConstrainedContour.m
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 ?
Thanks.
Roque
oliveria at engin.umich.edu