# 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 ...

206 views

### How to apply a color gradient to a Rectangle primitive? [duplicate]

How can we apply a color gradient (say "Rainbow") to a Rectangle primitive ? Of course, I searched the documentation : http://reference.wolfram.com/language/ref/Rectangle.html, and also the site : ...
119 views

### Step plot with log-log scale

Anyone know how to impose a log scale on both the $x$ and $y$ axes after using ListStepPlot? There's nothing special about the data set I've used, just a list of ...
19 views

### How to remove extra space around polar plot in manipulate? [duplicate]

In Manipulate, PolarPlot adds lots of useless space around the exterior circular grid. Is there a way to remove that space, so the whole circular plot could take more space ? Here's a MWE showing ...
207 views

### How can I visualize a map $f:T^2\to T^2$?

Let $T^2\cong S^1\times S^1$ be the one-holed torus surface (say, embedded in $\mathbb{R}^3$) and say I have a simple-ish map $f:T^2\to T^2$ which I'd like to visualize. How might I do that? To make ...
82 views

### Ticks on axes with a frame without frameticks [duplicate]

I would like to draw a simple 2D graphics with a frame, without any FrameTicks, but still having central axes with ticks. The code is this : ...
105 views

### How to draw a density (list) polar plot?

I have the function $P_{ns}$ which gives me the amplitude of a signal. The angles $\theta_B$ and $\phi_B$ are known. (25 and 180 for example) ...
59 views

### Buttons in graphics

I've created a workflow using Drawing Tools. It consists of Images, lines, and in some places I have cut and pasted Button objects. These buttons work fine if you paste directly into the Graphic frame....
231 views

### Mathematica 10.4 crashes when using too many font sizes

While working on How to make the digits of π around like this? I encountered a problem that Mathematica would crash at regular intervals with an internal self-test error, either ...
5k views

### How to make the digits of π go around in a spiral like this?

Here is a start. MapIndexed[Text[Reverse[First[RealDigits[Pi,10,252]]][[Tr@#2]],#]&, Table[{t Cos[t],t Sin[t]},{t,0,16Pi,0.2}]]//Graphics
83 views

### Graphics option to suppress lines between adjoining polygons

In 10.3.1 there was a Graphics option -- it might be a sub-option of Method -- which erases the thin line visible at the join ...
67 views

### Discrete color bar: height not adjusting

I am trying to adjust height of my color bar, but LegendMarkerSize is not doing what it is supposed to do. Code ...
54 views

### Building function where the output is graphic [closed]

I want to build a function, where the inputs are points and voronoimesh, and points. But, the output would be a graphics parameter. the code is following: ...
59 views

### Multiple Sphere from imported data

i have the centers, radius, and xyz coordinates of say 200 sphere that i'd like to plot in a box. I know how to do one sphere using this information and Graphics3D ...
81 views

### How to let Graphics3D show texts only within the plot range?

OS: Windows Server 2012 R2 MMA Version: 10.3.0.0 ...
50 views

### Trouble aligning Graphics with Image

I import the test image eloquently named "Tank2": img = ExampleData[{"TestImage", "Tank2"}] And do an extremly poor corner detection: ...
63 views

### Labeling Points on a Plot

I have the following discrete map: $$x_{n+1}=μ-x^4$$ for which I have used manipulate to see the way the system evolves depending on the real parameter $μ$: ...
67 views

### Is it possible to manipulate multiple graphs with one manipulate function? [closed]

I'm trying to find a way to manipulate a function and its derivative, but two variables of the function change. Is there a way to manipulate multiple graphs with the same set of parameters? Meaning, ...
78 views

### How to change the 3D Mesh resolution?

I need to fix the resolution of the mesh lines drawn on some surfaces, and currently I don't know how. Here's a MWE to work with (a simple sphere) : ...
75 views

### NDSolve Surface Plot to Compare Initial Values

I am trying to solve a system of differential equations which model reaction kinetics using NDSolve. I would like to generate a surface-plot of the function value as a function of time and the initial ...
188 views

### Making a 2D hexagonal mesh

There are a lot of answers for how to make a hexagonal mesh on a 3D surface but nothing on how to make a hexagonal mesh on a 2D surface. Can any provide code on how to do so? I am new to mathematica, ...
156 views

### Drawing a Closed Curve from given points

I have the following points: ...
95 views

### ElementMesh (rendering?) issue

The appearance of the following ElementMesh is bad as you can see for example on the inside surface of the shell. The same problem happens converting to a ...
133 views

### rescaling ColorFunction for ListContourPlot

I have this question that I've been struggling with. I came across many similar questions, but those solutions do not work for me. What I looked at: Example 1 Example 2 Example 3 I apologize if I ...
87 views

### Change bond cutoff distance when plotting .xyz files

When plotting a molecule from a xyz data file, Mathematica automatically adds the bonds between the atoms. But in my case it adds too many bonds, not only between nearest neighbours but also between ...
49 views

### Add polygon as text before the polygon values [closed]

I have the following values of two polygons: ...
69 views

I have: ...
47 views

### PlotLabel with Graphics [closed]

Wondering why my PlotLabel does not show up? ...
205 views

### Rendering a shape rather than a point in Graphics

Here is some sample data ...
41 views

### How can I add an arbritrary label to a detail in a Plot or Plot3D?

I know about the graphics primitives Line and Point. I also know about Labeled, but there the placement of the label itself is confined to one out of {Bottom, Left, Top, Right}. I am looking for a ...
106 views

Code ...
128 views

### How to horizontally center a button in manipulate?

I just need to center a button in the MWE code below. Currently, all I try doesn't work. I would like to horizontally center the button relative to the sliders over it, for aesthetical reasons only. ...
70 views

### Increase resolution of ListContourPlot3D

I have this code that I want to compute to create at Gyroid, ...
124 views

### How to introduce two successive points inside the FixedPointList for each cycle?

If we want to draw the attraction basins of an iteration function of the following type $$x_{k+1}=x_k-\frac{f(x_k)}{\frac{f(x_k)-f(w_k)}{x_k-w_k}},$$ where $w_k=x_k+b f(x_k)$, $b\in R-\{0\}$, we can ...
87 views

110 views

### Adding a quarter circle to an array plot

I want to add a quarter circle to delimit the evolution of the 2D CA with code 746 (which is almost circular) like it's shown here I tried what's shown below, but I can't get the Epilog to show, why? ...
44 views

### How to reorganize the graphs in the GraphicGrid in a reopened notebook without re-generating them

How to reorganize (add some and remove some within the same notebook) the graphs in the GraphicGrid in a previously saved notebook that was closed and reopened, without re-evaluation to re-generate ...
166 views

### ParametricPlot3D colorfunction for a specific region of an object

I have created a 3D parametric plot of an oblate spheroid, and I want to apply "TemperatureMap" as a colorfunction to its surface as a gradient in the Z direction. However, I only want to apply this ...
216 views

### Create graphic object using {x,y} points, and plot a contour over it

I am trying to create a graphics object (polygon built with {x,y} points)so I can plot a contour over it. I would like the coordinates of the contour plot and graphics object be matched (ie, {0,0} in ...