Group Abstract Group Abstract

Message Boards Message Boards

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

RegionPlot3D sometimes gives empty output

Posted 2 days ago

Why the same code, I can sometimes generate three-dimensional model, sometimes can not generate enter image description here enter image description here

POSTED BY: 扬 崔
3 Replies

In your first example you have evaluated the plot without entering the definition of tpmsI.

POSTED BY: Gianluca Gorni

On my system this gives a nonempty plot:

tpmsI[a_] := 
  2 Cos[a x] Cos[a y] + 2 Cos[a x] Cos[a z] + 2 Cos[a y] Cos[a z] - 
   Cos[a 2 x] - Cos[a 2 y] - Cos[a  2 z];
RegionPlot3D[(-0.5 < tpmsI[1.7 - 0.2*(1 - Exp[-Norm[{x, y}]/3])] < 
    0.5) && Norm[{x, y}] < 10,
 {x, -10, 10}, {y, -10, 10}, {z, 0, 5}, PlotPoints -> 50]

It is probably not accurate, because PlotPoints should be much higher, but it would take longer computation time.

POSTED BY: Gianluca Gorni

Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST

The rules explain how to format your code properly. Posting code Images doesn't help other members to copy your code. Please EDIT your post and make sure code blocks start on a new paragraph and look framed and colored like this.

int = Integrate[1/(x^3 - 1), x];
Map[Framed, int, Infinity]

You can also embed notebook or attach notebook.

enter image description here

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