Message Boards Message Boards

0
|
4358 Views
|
4 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Show a point in a Parametric3D within Show[ ] graphic?

I am not able to show a point in a three 3 Parametric3D Graphic . Here is my code

Show[
ParametricPlot3D[{{Sin[x], x, y}, None, None, 
None}, {x, -\[Pi], \[Pi]}, {y, 0, 3}],
ParametricPlot3D[{None, {Sin[x - 3], 1 - x, y}, None, None}, {x, 0, 
3 \[Pi]}, {y, 0, 3}],
ParametricPlot3D[{None, 
Point[{2, 2, 1}], {Abs[x - 1], 1 - y^2, y*Pi}, None}, {x, 0, 
3 \[Pi]}, {y, -4, 3}],
ParametricPlot3D[{None, None, None, {x - 3, 1 y, Pi}}, {x, 0, 
3 Pi}, {y, -4, 3}],
ImageSize -> Medium]

enter image description here

POSTED BY: Jose Calderon
4 Replies

I had never seen None used that way. I am surprised that it does no harm in your example. I understand that None is a possible value for options. Surface coordinates are not options.

POSTED BY: Gianluca Gorni

A point is a graphics primitive, not a parametric surface. It can be added with Graphics3D:

Show[
 ParametricPlot3D[{Sin[x], x, y}, {x, -\[Pi], \[Pi]}, {y, 0, 3}], 
 ParametricPlot3D[{Sin[x - 3], 1 - x, y}, {x, 0, 3 \[Pi]}, {y, 0, 3}],
  ParametricPlot3D[{{Abs[x - 1], 1 - y^2, y*Pi}, {x - 3, 1 y, 
    Pi}}, {x, 0, 3 \[Pi]}, {y, -4, 3}],
 Graphics3D[{PointSize[Large], Point[{2, 2, 1}]}],
 ImageSize -> Medium, PlotRange -> All]
POSTED BY: Gianluca Gorni

Thanks.. Why you eliminated the "None" part from the equation. Do you consider these option that do not apply. I learn from a tutorial about the use of NOne when one that one plot is showed. But never really understood when it applies and when not.

Please , comment.

THanks for your input.

POSTED BY: Jose Calderon

The following should work as your request:

Show[
   ParametricPlot3D[{Sin[x - 3], 1 - x, y}, {x, 0, 3 \[Pi]}, {y, 0, 3}],
   Graphics3D[{PointSize[Large], Point[{2, 2, 1}]}], PlotRange -> All
 ]

graphics3d

POSTED BY: Shenghui Yang
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract