MathGroup Archive 2010

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

Search the Archive

Re: Combining VectorPlot3D and ParametricPlot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114021] Re: Combining VectorPlot3D and ParametricPlot3D
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 20 Nov 2010 18:26:22 -0500 (EST)

Displayed without a problem on my Mac with both version 7 and 8

$Version

"7.0 for Mac OS X x86 (64-bit) (February 19, 2009)"

$Version

"8.0 for Mac OS X x86 (64-bit) (November 6, 2010)"


Try starting with a fresh kernel.


Bob Hanlon

---- rscott <rscott at socal.rr.com> wrote: 

=============
Hello,

I'm trying to show a circle in a vector field in R^3.

Here's my vector field:

vectorfield01 = VectorPlot3D[{y, -x, 0}, {x, -2, 2}, {y, -2, 2}, {z,
-2, 2},
 VectorScale -> 0.1,
 VectorPoints -> {9, 9, 5}]

Here's my circle:

circle01 = ParametricPlot3D[{Cos[t], Sin[t], 2}, {t, 0, 2 \[Pi]},
 PlotStyle -> Directive[Thick, Black],
 PlotRange -> {{-2, 2}, {-2, 2}, {-2, 2}}]

Each of these individually gives me what I want, but when I try

Show[circle01, vectorfield01]

I get the error message

Show::gcomb: Could not combine the graphics objects in Show[\!\(\*

I've tried all kinds of combinations with Graphics3D[ ] etc.

Any help would be appreciated!

Thanks very much,

Randy Scott
Santiago Canyon College




  • Prev by Date: Re: Change in Times[] behavior from Mathematica 7 to Mathematica
  • Next by Date: Re: Mathematica 8 and Alpha integration....
  • Previous by thread: Re: Combining VectorPlot3D and ParametricPlot3D
  • Next by thread: Re: Combining VectorPlot3D and ParametricPlot3D