# Tagged Questions

Questions on the construction of 2D and 3D graphics through the direct use of primitives, directives, and functions. Include the graphics3d tag for questions specifically on 3D graphics. This tag is not to be used for basic questions on visualizing functions and lists using the various flavors of ...

162 views

### How can I make a map of Sierra Leone at the district level?

Hi I am trying to make a map of Sierra Leone and am running into trouble. SL has 4 provinces: Northern, Southern, Eastern, and Western, which are diced up into 14 districts as shown here: ...
119 views

### Placing text within a plot

I want to place text within a plot. The text is always centered relative to the coordinates. How can I left-align or right-align the text relative to the coordinates? For example: ...
290 views

### Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. ...
40 views

### Join a surface and a density plot [duplicate]

My question is if it's possible to do something like this with Mathematica: I know that it is possible to plot a surface with Plot3D and a 2D plot with DensityPlot, so I was wondering how to join ...
66 views

### Specifying the style of edges in directed graphs [closed]

How do I specify the style of individual edges in a directed graph (in Mathematica version 9)? Consider maybe this ...
213 views

### How to make a “flat” plot (or a grid of 2 plots) of 3 variables in Mathematica (sample picture attached)

Is it possible to plot that kind of graph in Mathematica? (picture attached) If yes, it can be used to visualise a simple "balance system" of the form: X = f[e]; ...
108 views

### Unnecessary and slow conversion between simple polygons and geometric regions

To my knowledge some (but not all) of the new geometric region functions in Mathematica version 10 require an additional step to convert from geometric shapes into regions. However this step Does ...
228 views

### Embedded Graphics: General Relativity

Is there a way to make the following graph with two dimples? Like the central indent and another indent to the side to simulate a central mass like the sun and another smaller mass like the Earth in ...
215 views

### Aristic rendering of breaking waves from a Japanese panel

Any insight to model and render the breaking waves in the style of this - likely Japanese or possibly Korean panel? Line drawings are acceptable, not necessary to replicate all the details like ...
296 views

### How to plot an implicit value funtion

Previous question has been solved (Gap in a continuous plot). Here is a new related question. ...
160 views

### Problem with ContourPlot [Not smooth curve] [closed]

Here is my code ...
359 views

### List Contour Plot: Delete some contour lines, but keep the colors

I'm trying to make a Contour plot of a set of data of the kind: $(x,y,f(x,y))$ What i'd like to do is to remove the majority of the iso-line and just leave two of them, but keeping the changing of ...
182 views

### The graph of inverse function $f^{-1}(y)$

Show that $f:I=(-1,1) \rightarrow \mathbb{R},$ it follows that  f(x)=\begin{cases} \quad1-x & \text{ as } -1<x\leq 0, \\ \frac{{x}^{-1}+ \lfloor {x}^{-1}\rfloor}{1+{x}^{-1}+\lfloor ...
213 views

### Plotting boundary of piecewise function in ContourPlot

I am trying to do a ContourPlot of the following function: ...
86 views

### Font rendering difference between .jpg & .pdf [duplicate]

I have some planar graphics involving lines and text, produced by Line[] and Text[], accepting the default font on the latter. ...
689 views

### Rendering thousands of points

I am trying to render an image with some 120,000 Points. Technically it's just 10,000 points, plus their reflection, plus 5 rotations of both of those sets, but I'm ...
537 views

### Generate nonoverlapping random circles [duplicate]

I want to distribute n circles unformly in an area(e.g. free plannar space). The circles could touch each other but cannot overlap. ...
126 views

### Display 3D function and its gradient in same graphic [duplicate]

Is it possible to display e.g., $z=x^2+y^2$ with Plot3D and in the same box, in the $z=0$ plane, plot its gradient?
78 views

### ImageResolution Doesn't Work!

The code below is supposed to generate a high resolution plot, but it does not! g = Plot[Sin[x], {x, -1, 1}]; Export["c:/sin.jpg", g, ImageResolution -> 600] ...
74 views

### How to combine several plots with this special alignment? [duplicate]

How can combine different plots just as shown in the image? Just give codes about one example plot,and tell me how to create plots as the form as gaven. Follows are codes: n = 2; z = 200; [Alpha] = ...
78 views

### Exporting graphic to pdf acting funny [duplicate]

I have a plot created in a notebook that I usually would right click on and choose Save as pdf. It worked fine until this morning. Shown below, the first plot is what I used to get. The second plot is ...
181 views

### How to cut a thick curve in half lengthwise?

Is there any easy way to cut a thick curve in half lengthwise? Example: suppose I have the cardioid shown in the figure below, is there a way to delete either the inner or the outer portion of the ...
69 views

### How to randomly create disks with randomized radii under given specific cover ratio? [duplicate]

I want to create uniformly distributed disks(dots) in a specific rectangular area. Suppose: the disk radii should be uniformly between $a$ and $b$ ($0<a<b$); there is no interaction between ...
153 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 ...
245 views

### How do I plot results of complicated calculations in Mathematica?

I am new to Mathematica and am struggling with making plots of how features of solutions vary with parameters. For example, I can find the eigenvalues and zeroes of a Sturm Liouville problem (showing ...
255 views

### How can I improve ContourPlot to get smooth curve?

I am working on the ContourPlot to creat contour line of a InterpolatingFunction recently. This is my data. This is my simple ...
79 views

### Align axes in GraphicsGrid - with one rotated figure

I would like to align the axes of the three plots: g3, gPosteriorMarginalMu and gPosteriorMarginalSigma: ...
287 views

### How can I use ContourPlot to creat streamline for a free surface domian: proper arrow orientation and correct domain?

I get into trouble when I use ContourPlot to draw streamlines in a free surface flow domain. This is my data.The data are a little bit big, please be patient. ...
45 views

### How to share ChartLegends among multiple BoxWhiskerCharts in GraphicsGrid?

First, create two BoxWhiskerChart: box1 and box2 ...
124 views

### Dynamic overlay of graphics and plot while maintaining uniform coordinates [closed]

I have a plot and a graphic that I want to overlay onto one another while retaining a uniform sense of coordinates throughout the whole thing. I have tried to do this two ways and both suffer from ...
151 views

### Colorize an image using two parameters

I have a matrix of data. I use Colorize[Image[Rescale[data]],ColorFunction->"Rainbow"] to create an image from the data where the value of each pixel is used ...
206 views

### Animate skips frames and hard to control speed.

I browsed similar questions related to Animate jerkiness like here, but haven't found the right options to control animation rate while also displaying all frames: ...
213 views

### Extracting ragged array from an image

I have a list of points, which represent positions of peaks in an image. The nature of the image itself shouldn't matter, as I already have the peak positions. As a simple example, consider the ...
102 views

### My code does not give the same results on mathematica 9 and 10 [closed]

I have developed last year an algorithm using mathematica 9. In this algorithm, I remember that coordinate system of Image and Graphics are not the same. However, in mathematica 10 the coordinate ...
260 views

### How can I create a minimal surface with trefoil knot as inner edge and circle as outer edge?

This minimal surface is the subject of Michael Foster's beautiful wood-turned sculpture "Inversion" (see http://breezyhillturning.com/styled-2/photos-2/index.html). In addition, how can one create 2D ...
42 views

I have this: ...
259 views

### Plot with Mathematica

How Can I plot the following figures for the following equations? $x\in\mathbb{R}, f(x) = \frac{\left|\sin(x)\right|}{x^2+x+1}$ \$t\in\mathbb{R}, A(t)=\displaystyle\int_t^{t+2\pi}\!\dfrac{|\sin ...
182 views

### Performance Issue When Using Manipulate

Any help would be appreciated! I've been attempting to manipulate the graphics for time t. We need to have Di set to 11.2, however when it is set to any value greater than .1, we see a great deal of ...
215 views

### More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.2 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
75 views

### Break axes on listcontourplot

I would like to insert a break on both of the axes of a ListContourPlot near the origin, to include a datapoint which has axis values quite far away from the others. The question is similar in nature ...
100 views

### Coloring vertices according to a function using GraphPlot3D

This question is similar but not identical to a related question called: coloring-vertices-using-graphplot . I need to color the vertices of a graph according to a function, f that is defined on the ...
135 views

### How would I rotate a table of Cuboids around the y axis?

Currently I can print out this using Graphics3d: Here's the code: ...
43 views

### Fix range when combining plots [duplicate]

Is there a way to automatically choose the y-axes when combining plots (and in passing, why isn't that the default behaviour for Show[ plot1, plot2 ]?) ...
188 views

### 3D Sphere Plot + Points [closed]

I'm currently trying to create a 3D plot of a sphere along with four points of different colour, using the following code: ...
332 views

### How to add texture to a parametric plot?

I need to put some simple textures to some parametric plots. My textures are not complicated, They are like the first example in here. Is there any simple way of doing this? For example, How can I ...
53 views

### How to set suitable View* for Graphics3D [duplicate]

My codes and result as following. There is an people object in 2D view. You can move the people object in 2D view, the direction of the arrow is the direction that the people see. You can use the ...
272 views

### Drawing two graphics with an arrow in between

I'm trying to draw two graphics object well defined and an arrow in between pointing left to right (symbolizing the mapping between the two). I've tried drawing the arrow first in a graphics object ...
145 views

### Remove white space from GraphicsRow

I am trying to remove as much of the white space above and below the following image produced by: ...