Newsgroups: comp.soft-sys.math.mathematica
From: Bob Hanlon <hanlonr...@gmail.com>
Date: Mon, 30 Apr 2012 08:44:45 +0000 (UTC)
Local: Mon, Apr 30 2012 4:44 am
Subject: Re: Getting only 1 of 3 curves of intersection
g1 = Plot3D[Sin[x*y], {x, 0, Pi}, {y, 0, Pi},
PlotStyle -> None, MeshStyle -> Red, Axes -> True, AxesLabel -> {"x", "y", "z"}]; g2 = Plot3D[Cos[x*y], {x, 0, Pi}, {y, 0, Pi},
rSol = Reduce[{z - Sin[x y] == 0, z - Cos[x y] == 0,
(((2*Pi - 2*ArcTan[1 + Sqrt[2]])/Pi <= x <=
rSol // FullSimplify
x <= Pi && (((9*Pi)/x == 4*y && 4*x >= 9) ||
param = Cases[rSol,
{{x, (5*Pi)/(4*x), -(1/Sqrt[2])},
g3 = ParametricPlot3D[param, {x, 0, Pi},
Show[g1, g2, g3,
Bob Hanlon
On Sun, Apr 29, 2012 at 2:09 AM, Bill <WDWNORW...@aol.com> wrote:
> Hi: > Consider the following plot:
> g1=Plot3D[Sin[x*y],{x,0,Pi},{y,0,Pi},PlotStyle->None,MeshStyle->Red,Axes->T rue,AxesLabel->{"x","y","z"}];
> Using the above Mathematica 8.0.4 code, I can plot one curve of intersection shown in magenta.
> Question: If this can be done, can someone please give me the code?
> Thanks,
> Bill
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||