Message Boards Message Boards

0
|
3187 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Error using SliceVectorPlot3D?

When I execute the SliceVectorPlot3D command, I get an output as shown below. I cannot see the surface, and it's entirely purple for some reason. This is the only running line in the Notebook. However, when I move around the axes with my cursor or interact with the output,  I am able to see the surface clearly and accurately. Why is the purple colour showing? How do I fix it?

POSTED BY: Aryan Dugar
2 Replies
Posted 3 years ago

What OS / Version are you using? Works fine on "12.3.0 for Mac OS X x86 (64-bit) (May 10, 2021)".

SliceVectorPlot3D[{2 x, 2 y, 0}, {x^2 + y^2 - z == 0}, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]

enter image description here

POSTED BY: Rohit Namjoshi

You may wish to try changing the option 3DRenderingEngine in the Option Inspector. I think you can also control this with style. eg Style[SliceVectorPlot3D[{2 x, 2 y, 0}, {x^2 + y^2 - z == 0}, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}], RenderingOptions -> {"3DRenderingEngine" -> "OpenGL"}]

The choices vary by OS and their relative performance varies depending on your hardware.

POSTED BY: Jon McLoone
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