MathGroup Archive 2013

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

Search the Archive

Intersection points of two contour plots


Hi group,
Please consider the example below to illustrate my question (the
original problem is somehow much more complicated):

t1 = Table[Sin[3 x*y], {x, -3, 3, .1}, {y, -3, 3, .1}];

t2 = Table[If[x*y < 0, Sin[3 x*y]], {x, -3, 3, .1}, {y, -3, 3, .1}];

p1 = ListContourPlot[t1, Contours -> {0}, ContourShading -> False,
   DataRange -> {{-3, 3}, {-3, 3}}, ContourStyle -> Black];

p2 = ListContourPlot[t2, Contours -> {0}, ContourShading -> False,
   DataRange -> {{-3, 3}, {-3, 3}}, ContourStyle -> {Red, Dashed, Thick}];

Show[p1, p2]

Is there a way to show only the results of the intersection of these
two contour plots?

Thank you
Luiz



  • Prev by Date: Re: Wolfram Technology Conference Presentations
  • Next by Date: Stochastic malloc error with Graphics3D
  • Previous by thread: Re: Wolfram Technology Conference Presentations
  • Next by thread: Re: Intersection points of two contour plots