Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.6K Views
|
6 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Why ContourPlot3d and Ball are not working?

Posted 5 years ago

Hi guys!

Newbie here! Do you guys know why this doesn't work on my Mathematica 12.0 version?

ContourPlot3D[
 x^3 + y^2 - z^2, {x, y, z} \[Element] Ball[{0, 0, 0}, 3]]

I get this error:

ContourPlot3D::pllim: Range specification {x,y,z}\[Element]Ball[{0,0,0},3] is not of the form {x, xmin, xmax}

Link: https://reference.wolfram.com/language/ref/ContourPlot3D.html

Thank you so much!

POSTED BY: Ricardo Canedo
6 Replies
Posted 5 years ago

Trying to make this happenenter image description here

Thank you!

POSTED BY: Ricardo Canedo
Posted 5 years ago

Thank you! It is not working....Any idea how to encapsulate these contourplot3d in a sphere with smooth boundaries?

Thank you!

POSTED BY: Ricardo Canedo
Posted 5 years ago

enter image description here

POSTED BY: Ricardo Canedo
Posted 5 years ago

Hi Bill!

Thank you so much for your reply! Unfortunately, it is not workingenter image description here

I am trying to do a region boundary of a sphere in a Countourplot3D......any ideas? How can I encapsulate this for with smooth clipping into a sphere?

ContourPlot3D[ x^3 + y^2 - z^2 == 0, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}]

Thanks again!

Thank you so much

POSTED BY: Ricardo Canedo
Posted 5 years ago

I just typed exactly this

ContourPlot3D[x^3+y^2-z^2, {x,y,z} \[Element] Ball[{0,0,0},3]]

and it seemed to work. Notice that \ in front of [Element]. Did you include that? With no space between the \ and the [Element]?

ContourPlot3D[x^3+y^2-z^2, Element[{x,y,z}, Ball[{0,0,0},3]]]

also worked, which is a completely different way of writing this without using \

POSTED BY: Bill Nelson
Posted 5 years ago

Hi Ricardo,

What version are you running? Works fine on "12.1.1 for Mac OS X x86 (64-bit) (June 19, 2020)"

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