Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.2K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Combine ParametricPlot3D Curves and Surfaces in Manipulate for CDF?

Posted 9 years ago
POSTED BY: David Harness
4 Replies
Posted 9 years ago

Well now that worked---thanks Gianluca!

POSTED BY: David Harness

Try adding the option SaveDefinitions -> True to Manipulate, so that all the definitions of Shroud and Spikes are embedded into the output cell.

POSTED BY: Gianluca Gorni
Posted 9 years ago

Nope Gianluca, Like I first stated, Manipulate[Show[...,...]... works in the set-up, but the CDF player preview comes up blank...?

POSTED BY: David Harness

I think that a single ParametricPlot3D cannot mix surfaces and lines. You can do it with two separate plots combined with Show:

M3 = Manipulate[
  Show[ParametricPlot3D[{Shroud}, {\[Theta], -\[Pi]/2, \[Pi]/
      2}, {\[Lambda], 0, \[Pi]/2}, 
    PlotStyle -> {{Blue, Opacity[opacity]}, {Blue, Thick}}, 
    PlotRange -> All, ViewPoint -> {3, 4, 2.5}, Axes -> True, 
    Boxed -> False, FaceGrids -> None, AxesOrigin -> {0, 0, 0}, 
    AxesLabel -> {None, None, None}, ViewPoint -> {10, 5, 10}],
   ParametricPlot3D[{Spikes}, {\[Lambda], 0, \[Pi]/2}, 
    PlotStyle -> {{Blue, Thick}, {Blue, Opacity[opacity]}}, 
    PlotRange -> All, ViewPoint -> {3, 4, 2.5}, Axes -> True, 
    Boxed -> False, FaceGrids -> None, AxesOrigin -> {0, 0, 0}, 
    AxesLabel -> {None, None, None}, 
    ViewPoint -> {10, 5, 10}]], {opacity, .3, 1}]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard