Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7649 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2012-01-08 09:24 +0000 |
| Last post | 2012-01-08 09:24 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: ParametricPlot3D vs Reduce Bob Hanlon <hanlonr357@gmail.com> - 2012-01-08 09:24 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2012-01-08 09:24 +0000 |
| Subject | Re: ParametricPlot3D vs Reduce |
| Message-ID | <jebnd3$19b$1@smc.vnet.net> |
rats = {(-b - 2*d - b^3*d^2)/(b*d),
(2*b + d + b^4*d + 2*b^3*d^2)/(b^2*d),
(-1 - 2*b^3*d - b^2*d^2)/(b^2*d)};
ParametricPlot3D does not plot the intersection of {fx, fy, fz}. For
the intersection use
Plot3D[1, {b, -10, 10}, {d, -10, 10},
RegionFunction ->
Function[{b, d, z}, And @@ Thread[-1 <= rats <= 1]]]
RegionPlot[And @@ Thread[-1 <= rats <= 1],
{b, -10, 10}, {d, -10, 10}]
As expected, the results are empty. However, applying only two of the conditions
Plot3D[1, {b, -10, 10}, {d, -10, 10},
RegionFunction ->
Function[{b, d, z}, And @@ Thread[-1 <= Drop[rats, #] <= 1]]] & /@
Range[3]
RegionPlot[And @@ Thread[-1 <= Drop[rats, #] <= 1],
{b, -10, 10}, {d, -10, 10}] & /@ Range[3]
Bob Hanlon
On Sat, Jan 7, 2012 at 5:20 AM, Andrzej Kozlowski <akozlowski@gmail.com> wrote:
> I just came across something somewhat baffling, though it could be the
> result of an imperfect understanding of how 3D graphic functions work.
> Consider the following three rational functions of two variables, which
> we will think of as parameters of a point on a surface in 3D.
>
> rats = {(-b - 2*d - b^3*d^2)/(b*d), (2*b + d + b^4*d +
> 2*b^3*d^2)/(b^2*d), (-1 - 2*b^3*d - b^2*d^2)/(b^2*d)};
>
> Now, note that:
>
> Reduce[Thread[-1 <= rats <= 1], {b, d}]
>
> False
>
> in other words, there are no values of the parameters b and d for which
> the point lies in the unit cube. However:
>
> ParametricPlot3D[rats, {b, -10, 10}, {d, -10, 10},
> PlotRange -> {{-1, 1}, {-1, 1}, {-1, 1}},
> AxesLabel -> {"a", "b", "c"}]
>
> There appear to be several polygons inside the unit cube that should not
> be there?
>
> Andrzej Kozlowski
>
>
>
--
Bob Hanlon
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web