Plotting an intersection seam on a contour plot ?

Click For Summary
The discussion centers on the challenge of plotting the intersection seam of two 2D functions, s1(x,y) and s2(x,y), on contour plots. The user successfully plots the functions and their intersection in a 3D space using Plot3D with the MeshFunctions option. However, they seek guidance on how to overlay the intersection seam onto the contour plots of s1 and s2 created with ContourPlot. A suggested resource is provided, linking to a guide on combining multiple graphics in Mathematica, which may assist in achieving the desired result.
evgenx
Messages
14
Reaction score
0
Hi,

I have two 2D functions (surfaces), s1(x,y) and s2(x,y) defined
via Interpolation. They intersect forming an intersection seam (which is a line).
I can plot both functions using Plot3D and I can also plot the seam on the same
3D plot by means of the MeshFunctions option. The comand I use reads the following:

Plot3D[{s1[R, a], s2[R, a]}, {R, 2.62, 3.19}, {a, 1.36, 1.78},MeshFunctions->{(s1[#1, #2]-s2[#1, #2])&},Mesh->{{0}},MeshStyle->{Red,Thick}]

But waht I would like also to plot is the intersection seam on the contour
plots of S1 and S2. I mean I can plot a contour plot of S1 or S2 (using ContourPlot)
but I don't know how to add the seam to the contour plot.

I will very appreciate any hint/instructions how to do that.
Many thanks!

Evgeniy
 
Physics news on Phys.org

Similar threads

  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 6 ·
Replies
6
Views
9K
  • · Replies 19 ·
Replies
19
Views
4K