The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
124 views

How to show surfaces as a implicit plot in 3d?

I was trying to show a feasible region with these lines: ...
0
votes
1answer
71 views

Superpose a map and a region plot

I would like to add on a map of city a region plot, which is this one in this case : ...
0
votes
0answers
24 views

How to make RegionPlot3D automatically choose PlotRange?

I'm looking at the winning one-liners of 2014, this one inparticular: ...
7
votes
1answer
130 views

Rapid density estimation and rendering of decision regions

I would like to create an interactive demonstration using Manipulate[] that illustrates a fundamental concept in pattern classification and machine learning. This ...
4
votes
2answers
166 views

How to plot this region?

Consider the $2\times 2$ matrices \begin{align} A=\begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix} \end{align} and \begin{align} B=\begin{bmatrix} b_{11} & b_{12} \\ ...
0
votes
0answers
73 views

RegionPlot of an area inside a polar plot (or its equivalent parametric plot)

Let' s take a most simple example for a polar plot, the Archimede's spiral. ...
2
votes
0answers
38 views

Error message with RegionPlot after SetOptions

I get an error message with SetOptions[RegionPlot, ImageSize -> Medium]; RegionPlot[u v (1 - v) >= 10, {v, 0, 1}, {u, 0, 100}] that says ...
5
votes
2answers
172 views

RegionPlot from NDSolve

I am having quite a headache using RegionPlot to see the region of acceptance of certain coupled differential equation. I shall elaborate and try to be as ...
5
votes
3answers
133 views

Find Unconnected Subregions

If I have a region, how can I identify sub regions that may be disconnected, if any exist? region defines a rectangular region given two diagonally opposed ...
0
votes
0answers
54 views

RegionPlot[] using ImplicitRegion[] bug?

Defining R=ImplicitRegion[0 < Sin[x] Cos[y]< 0.5, {{x, Pi/2, Pi}, {y, 0, 2 Pi}}] a region plot RegionPlot@R returns ...
0
votes
1answer
117 views

Why this region is bad?

I want to draw a region but the result of Mathematica is not good. Why? ...
1
vote
1answer
67 views

RegionPlot fails when given function with internally redefined variables

I've just upgraded to v10, and have noticed that some of my trusty old notebooks which used RegionPlot now fail to run. I've boiled down the problem I'm having to ...
3
votes
1answer
58 views

RegionPlot with ColorFunction gives ugly frame labels

I was working on a simple 2D region plot: ...
2
votes
3answers
139 views

How to embed a filled Region in a Graphics?

Let for example: regn = RegionDifference[Rectangle[{-2, -2}, {2, 2}], Disk[{0, 0}, 1]]; The only documented way I found to draw a gereric region ...
3
votes
3answers
142 views

How to shade a plotted region in specific direction?

I am using RegionPlot to plot a linear program maximize 30x1+25x2 with the constraints ...
3
votes
2answers
82 views

RegionFunction generalized to plot a different colour/style for the largest expression [duplicate]

I have several functions of two variables defined in some region, say functions[x_,y_]:={0,x-y,Sin[x^2-y]} I'd like a plot to show at a glance the regions where ...
5
votes
3answers
240 views

How can i construct a 3D surface pass through a curve defined by formula and some other controllable points?

For example, If a have a curve defined by x^2+y^2=1 and z=0, and some isolated points having z coordinates, Can I construct a 3D surface passed through? It's better if I can change the surface shape ...
2
votes
2answers
108 views

Using RegionPlot3D to make a cone under restrictions

I have to plot a cone that satisfies this statement: Use the RegionPlot3D command to draw a picture of a cone with its point at the origin. The other end of the cone is a circle with radius 5 ...
5
votes
3answers
178 views

Aligning the axeslabel in a 3D list plot ($x,y,z$) (edited)?

I have the following code ...
2
votes
3answers
99 views

RegionPlot won't finish, but Plot3D does

I would like to produce a region plot where some function is less than 1. This runs for hours without finishing (until I lose patience and abort it). However, I can plot the function (using ...
1
vote
1answer
60 views

Strange functioning of RegionPlot with Reduce's output

I have defined this two quantities: f = (-b + Sqrt[b^2 + 4 a])/(2 a) g = (-b - Sqrt[b^2 + 4 a])/(2 a) and I want to solve this system in function of $a$, for ...
1
vote
0answers
76 views

Stability region of midpoint method using Solve and RegionPlot

I've been trying to obtain the stability region in the $(\lambda_R, i\lambda_I)$ plane of the midpoint rule $$y_{n+1}= y_{n-1}+2h\dot{y}_n,$$ for the model problem $\dot{y}=\lambda y$. The roots for ...
2
votes
3answers
123 views

Solve equations within range and plot [duplicate]

Hi I have these pair of equations to solve: $$ 1 - 3 x y = 5 z - 2 x $$ $$ y = 7 x z - \frac{z}{x} $$ I want to eliminate $z$ and plot $y(x)$ within the range $-2 < x < 2$ and $-2 < y ...
1
vote
1answer
131 views

3D Contour Plot - parts with gradients less and more than zero

I'm trying to plot sections of the 3D Contours, with gradient less than zero, and more than zero and equal to zero. It manages to solve for the derivative, but when I apply the conditions ...
2
votes
1answer
101 views

Plotting a region with thin cusps in high-definition via RegionPlot

I want a high-definition picture the real solutions $(s_1,s_2,s_3)$ of the system of inequalities $3 s_1^2 < (s_2 - s_3)^2 + 2 s_1(s_2 + s_3)\\ 3 s_2^2 < (s_1 - s_3)^2 + 2 s_2(s_1 + s_3)\\ 3 ...
7
votes
1answer
250 views

Plotting a region with polar axes

I want to plot the region of points who satisfy the following equation: 2 < r <= 5 && 3/4 π < θ <= 5/4 π I have been able to plot region in ...
4
votes
2answers
161 views

Adding a thick curve to a regionplot

Suppose we have the following simple RegionPlot: ...
5
votes
0answers
82 views

Plotting a transformed region only works with integer inputs

I can't figure out why the following code only works with integers. ...
1
vote
1answer
76 views

How to make a region plot indicating the largest among a set of functions [duplicate]

I want to make a RegionPlot (or possibly a ContourPlot) in $x$-$y$ space that indicates which among a set of functions is the ...
7
votes
1answer
162 views

Can't plot rotated region

I was experimenting with the code from this question when I ran into another problem with regions. ...
1
vote
1answer
78 views

Why does one Monitor expression work while another fails?

I have a (somewhat involved) function f[x?NumericQ, y?NumericQ] and for some reason it behaves differently when given a Table ...
2
votes
0answers
98 views

Smooth out contour in RegionPlot/ContourPlot

I would like to smooth out the jagged edges in the outermost contours in the following plot: I have data of values as a function of variables (x,y) in the form ...
3
votes
1answer
123 views

RegionPlot3D and Texture

I'm getting a white solid instead of a solid with texture, I'm not sure what is wrong: ...
0
votes
1answer
91 views

RegionPlot not working as expected

I was trying to evaluate the following expression: RegionPlot[a > 0 && 2 a + b == 0, {a, -2, 2}, {b, -1.5, 1}, PlotLegends -> "Expressions"] ...
1
vote
1answer
108 views

Revert y-axis in RegionPlot

I have the following code: ...
3
votes
1answer
164 views

Little triangles appearing in a Mathematica region plot with “opacity” saved in a PDF file [duplicate]

I am trying to produce a region plot of many functions, but Mathematica keeps showing me the little triangles when I save it as pdf. I have seen other solutions which fix the problem with PlotStyle-> ...
2
votes
2answers
268 views

region plot in a 2-simplex

I want to plot a 2-dimensional region with constraint $x+y\le N$, i.e., I want to plot a sub-region inside a 2-simplex. As an example: ...
1
vote
1answer
100 views

RegionPlot of a Double integration [closed]

Hey guys I have a problem where I want to sketch the region of integration: Integrate[x Cos[y^2], {x, 0, 3}, {y, x^2, 9}] I know I have to use ...
3
votes
1answer
188 views

Put random points into a specific 2D subregion

I want to cover a particular subregion of the x-y plane with a random distribution. As this particular region is not a circle I encounter some problems declaring the permitted zone where to put ...
1
vote
1answer
111 views

How one can make the boundary of the regionplot smaller or bigger?

Suppose we have a regionplot as follows: ...
0
votes
0answers
51 views

RegionPlot giving an “invalid comparison” error

I am trying to use RegionPlot in Mathematica and I am stuck because I am getting an invalid comparison error. I am trying to evaluate the following code: ...
2
votes
1answer
209 views

Making a rectangular label for RegionPlot

I have a plot that includes a Region Plot. I want to make a rectangle with the same shading as in the region plot to show as a legend. The dumb way I can think off ...
2
votes
1answer
158 views

project from a n-dimensional space to 2-dim

let's say that I have a sphere in $N$-dimensions $$x_1^2+x_2^2+...+x_N^2=R$$ If I want to know the projection on the $x_1-x_2$ plane in this case I can figure out myself that is a circle, but how ...
0
votes
1answer
141 views

How to use ParametricPlot Wih Conditions (or similar)

I´m analizyng the game "Battle of the Buddies" similar to "Prisioner´s Dilenma" All works fine, BUT... I want to draw in red the point whose coordinates are less than the coords of a strategy. ...
2
votes
2answers
172 views

Plotting double inequality only for integer values

RegionPlot is plotting for all values. And using ListPlot I can only evaluate one inequality. How can I plot this type of ...
1
vote
1answer
141 views

How to force the RegionPlot to shade a narrow region?

I have an interactive demonstration, which (very simplified to leave out unnecessary details) looks as follows: ...