4
$\begingroup$

I want to draw 3D ellipsoids, the simplest of which is

RegionPlot3D[Ellipsoid[{0, 0, 0}, IdentityMatrix[3]], Mesh -> None]

enter image description here

How can I switch off the black mesh? Mesh -> None doesn't do anything here.

update

WR support recommends to use

RegionPlot3D[Ellipsoid[{0, 0, 0}, IdentityMatrix[3]], BoundaryStyle -> None]

which works fine.

$\endgroup$
  • $\begingroup$ I’m perplexed, but that’s not unusual, haha! It looks, to me, though, like some of the upper right portion has no meshing that appears. $\endgroup$ – CA Trevillian May 17 at 14:41
  • $\begingroup$ Yes @CATrevillian the mesh is buggy and doesn't cover a triangle on the sphere. $\endgroup$ – Roman May 17 at 14:42
  • 2
    $\begingroup$ maybe post-processing to remove Lines: RegionPlot3D[Ellipsoid[{0, 0, 0}, IdentityMatrix[3]]]/. Line->({}&)? $\endgroup$ – kglr May 17 at 14:49
4
$\begingroup$

RegionPlot[]/RegionPlot3D[] predate regions, and my impression is that they are not as robust on regions as on predicates. DiscretizeRegion offers more control. That said, I don't understand why some edges of the polygons do not appear. I'd say it was a bug. (Either all should appear or none.)

Also the Mesh option in plotting is different from the Mesh in MeshRegion. It's related to mesh functions in plotting, but in regions, it's related to triangulation.

RegionPlot3D[DiscretizeRegion@Ellipsoid[{0, 0, 0}, IdentityMatrix[3]]]

enter image description here

$\endgroup$
  • $\begingroup$ I thought that this is what RegionPlot3D does internally anyway. So is this a way to circumvent a bug? $\endgroup$ – Roman May 17 at 14:44
  • $\begingroup$ Ah! How curious. Was the OP not discretized enough? Or simply just a matter of how it is internally implemented, and perhaps changing styles for the OP would also not carry properly? $\endgroup$ – CA Trevillian May 17 at 14:44
  • 2
    $\begingroup$ @Roman It looks like a bug to me. $\endgroup$ – Michael E2 May 17 at 14:47
  • 1
    $\begingroup$ OK I've sent WR a message about this. $\endgroup$ – Roman May 17 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.