Questions tagged [regions]

Questions about functionality that defines or operates on regions (i.e., an open, connected set), including geometric, mesh-based, or data and formula-defined regions.

Filter by
Sorted by
Tagged with
1
vote
1answer
57 views

Mathematica image won't display

I need some help getting RegionPlot to display. Running this code: ...
8
votes
2answers
90 views

Independent RoundingRadius specifications for all corners

I need help creating a Rectangle (or Framed) where the roundness of each corner is specified separately. For example, I would ...
1
vote
1answer
44 views

How to feed a list of disks to RegionUnion

I have a bit of code which creates a list of disks (I'm exploring Gershgorin circles) based on a matrix tm. ...
6
votes
2answers
238 views

How to plot region of integration in Mathematica? [closed]

I want to set limits of integration in cylindrical polar coordinates for a function $f(r,\theta,z)$ over a region bounded below by the plane $z=0$, laterally by the circular cylinder $x^2+(y-1)^2=1$ ...
1
vote
1answer
72 views

Issue with NMaxValue Constrained to an ImplicitRegion

I am trying to find the maximum (and minimum) value of an interpolated function constrained to an ImplictRegion with a (partly) curved boundary. I have followed the documentation carefully and tried ...
3
votes
2answers
85 views

Why can't this DiscretizeRegion display in full

...
11
votes
2answers
515 views

A Smooth and Round Voronoi Mesh

I want the edges of a VoronoiMesh to be smooth and round. I have found the following code from this answer ...
4
votes
1answer
102 views

Solving Laplace's equation in 2D using region primitives

I was looking at examples of solving problems in electromagnetism and ran across this question, which was a great example of just that. However, looking at the Dirichlet condition, both answers define ...
8
votes
1answer
303 views

Maximizing over a 1D region

Why does the following not compute? MaxValue[-y^2, y ∈ Interval[{-1, 1}]] I expect it to compute the maximum value of the funtion over the interval from -1 to 1 ...
2
votes
1answer
36 views

How to create parametric region including a parametric curve and a non-parametric line?

I am trying to integrate a figure composed of a piecewise parametric curve with both ends bound by a straight, vertical line segment. I have displayed the curves on top of each other using the ...
7
votes
2answers
163 views

RegionMeasure gives incorrect area of ImplicitRegion

The area of ImplicitRegion gives two very different answers when I introduce a small amount of error. ...
7
votes
1answer
84 views

Is this a bug of BoundingRegion?

...
2
votes
1answer
68 views

Cannot remove ragged edges of TransformedRegion plot

I am working with two mappings of a region in the complex plane and I can't eliminate the ragged edges of the region in the second map and do not see anyway to add points to make the perimeter smooth ...
2
votes
1answer
63 views

Colouring cells in a Voronoi mesh [closed]

Consider the following code ...
11
votes
3answers
202 views

Inaccurate result from ImplicitRegion

I'm trying to describe the intersection of two cylinders by an ImplicitRegion (in order to use it in NDSolve later). ...
4
votes
1answer
106 views

Speed-up calculation of Area of Polygons

I have a complicated polygon in the 2d plane, that is an RegionIntersection of RegionUnion of triangles. Finally, I want to ...
5
votes
0answers
46 views

What's wrong with definition/visualization of a rectangular region (ImplicitRegion)

In a very simple example I try to define a rectangular region ...
1
vote
1answer
49 views

Numerical results for Reduce on an inequality

I am trying to determine the regions parameters (a, b) must belong to for a function to be negative for any argument x greater than zero. I have tried using Resolve ...
2
votes
1answer
43 views

What can we expect from boolean region operations?

In my recent efforts to design some 3D printable objects, I have been tempted to use relatively recent additions to the Wolfram Language such as RegionDifference ...
3
votes
1answer
62 views

How do I remove part of the plot?

I am in a similar situation as the one described in this post: I need to Plot3D a piecewise function with complicated inequality restriction. I am using this answer ...
7
votes
2answers
113 views

Using mesh cell highlighting to override the default rendering of a region

The default rendering of a region can be rather uninformative. Consider this simple example. DiscretizeRegion[Rectangle[{0, 0}, {2, 1}], MaxCellMeasure -> 2] ...
13
votes
3answers
155 views

how to make the surface of a 3D region smooth

I want to draw this region,but the surface is rough.I tried to find options to improve the surface but failed. ...
6
votes
4answers
214 views

Handling concavity in ListContourPlot

I have imported some CFD results (in csv format) into Mathematica to do some further processing of the data. One of my 2D geometries is, Now, when I try to do the contour plot, I get the following: ...
9
votes
1answer
329 views

Integrate over a region

I am trying to calculate a integral over a region defined by But I dont really know how to do it, I dont know if I have to work in cartesian coordinates or polar coordinates. The function that I ...
1
vote
2answers
33 views

Area calculation and RegionPlot

I want to color the region and calculate the area between $$y^{2}=3x$$ and $$y=2x-6$$. I tried ...
1
vote
1answer
76 views

Computing cross section area between cylinder and disk

I am creating a cylinder, whose center disk is placed at position vector v1 and whose orientation is given by the disk's normal vector ...
4
votes
1answer
53 views

Regions in 3D acting strange with cuboids

Suppose I have two composite regions as follows: ...
5
votes
1answer
92 views

How to find Green function for Laplacian in Upper half plane or first quadrant or left half plane and other regions?

This related to answer Using GreenFunction in 2D free space for Laplacian Where answer there shows how to find Green function for Laplacian in full space. But what if we want to find Green function ...
2
votes
1answer
121 views

Unable to compute the area of a polygon

I am having trouble computing the area of the following polygon. I have the following polygon: ...
4
votes
5answers
458 views

Computing the intersection area of two disks in 3D

Closely related to this question about highlighting intersection of two disks, I am trying to figure out if one can do so similarly for disks embedded in $3D$ (e.g. in a bounding box). The difference ...
6
votes
1answer
132 views

Speeding up Integration over Implicit Region

Similar to my previous question, running ...
0
votes
1answer
43 views

Exits and beeps on Integration

Evaluating ...
0
votes
1answer
54 views

NMinimize cannot be used within RegionPlot

My version of Mathematica (11.1) apparently cannot do NMinimize within RegionPlot. It did work before (!) my last software update. Here is an example from user GioMott having the same (unanswered) ...
1
vote
1answer
90 views

4D Region Plot with multiple inequalities

I am trying to draw a polytope with 4 variables. These 4 variables are probabilities so their lower bounds are all 0 and upper bounds are all 1. Here are the inequalities that define the polytope: $$...
2
votes
1answer
58 views

Filtering data 'geometrically'

I was looking at a very nice answer here, where the question was applying a confidence region to some data. If we plot some data as a scatter plot: ...
0
votes
1answer
94 views

RegionDifference not working properly for a region from a printable STL file

Some time ago I created a printable STL-file with a certain software of my own and now I want to modify it with Mathematica programmatically, mainly by subtracting certain geometric objects (e.g. ...
10
votes
5answers
523 views

Grainy 2D RegionIntersection Plot: How can I make it smoother?

I have the following code to display three coloured disks and their coloured intersections. However, the result does not appear to have been anti-aliased enough. How can I make it smoother? ...
1
vote
1answer
52 views

Implicit Region with Multiple Levels of Contraints

I'm trying to create an Implicit Region in the following way: Let's say the 2D region is defined as ...
1
vote
0answers
60 views

Got MeasureDump when integrate over region with decimal parameters?

I had this problem when using Integrate over regions: ...
3
votes
0answers
87 views

Text flow into user-defined outline

I'd like to flow text into a region defined by a curve, such as: ...
0
votes
1answer
75 views

Find the points closest to and farthest from the origin for a region in $\mathbb{R}^6$

Given $A$ being the intersection set between $x + y + z + u + v + w = 1$ and $x^2 + y^2 + z^2 + u^2 + v^2 = 1$, find the closest and farthest points to the origin that belong to $A$ in the space $\...
10
votes
3answers
616 views

What's the most efficient way to draw this region?

Viral question on YouTube. But let me start by saying the guy got it wrong. We don't do such things at the age of 11, we do this question about Year 11 (aged 14/15, 16 for some). I want to draw the ...
1
vote
0answers
42 views

Match light-shaded colors to plot themes for RegionPlot

I have a problem very similar to the one in the following topic: Match colors to plot themes. I want to extract the color of a plot for the corresponding legend. However, as I use a RegionPlot I am ...
0
votes
0answers
39 views

Why some regions in parametric plot are in different color?

I'm using ParametricPlot, I felt there is only one singularity in those equations. But in the plot, it is showing one more region and when i change the range of radius, I'm getting different graphs. ...
3
votes
3answers
115 views

How to get a smooth, uniform ParametricPlot of a 2D Region?

This is an offspring of this question. How to get a nice, smooth, uniform plot of the following? I.e. with no horizontal lines, and no ragged boundary at the top. I went with ...
1
vote
1answer
69 views

How to plot a complicated Region?

This works: ...
1
vote
1answer
69 views

Using the Disk graphics primitive II

I ask again to clarify a couple more things How do I write the disk primitive to calculate these cases Cases follow this link 1 reply from @kglr thanks Using the Disk graphics primitive
4
votes
3answers
269 views

Using the Disk graphics primitive

Please be kind enough to give me some indication on how to use the Disk graphics primitive in any of these cases: I want to calculate the area and perimeter of the ...
0
votes
1answer
64 views

BoundaryDiscretizeRegion Plots does not work with ParametricPlot3D

I am trying wit this data ...
0
votes
0answers
18 views

Creating a region for Plot3D by using an interpolating function as limit

I have a function sigma[qr,q0] of two variables with a sharp delta-like peak that cannot be numerically integrated by NIntegrate, like this: Since the upper and lower regions excluding the peak are ...

1 2 3 4 5 15