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

141 views

### combine two ParametricPlot3D plots

I have the following parametric equations ...
87 views

### LayeredGraphPlot: how to specify edge endpoints?

What directive within the LayeredGraphPlot command specifies where the edges attach to vertices? For example, instead of the left output below, I'd like to have the right one. ...
504 views

### How to make Inset graphics maintain relative sizes when combined

I am learning a little about Inset, but after trying all options, I can't get this to work. I need to inset separately made Graphics2D objects, into one main ...
208 views

### Why can't a Plot be rendered by Graphics if it's a member of a list?

I grabbed the code to render a gear from a Mathematica Demo, but I'm having difficulty reproducing the way it's to be used: ...
113 views

### Strange extrapolation in ListContourPlot?

I have some Table of {x,y,z} values (energy as a function of radial and azimuthal frequencies in a galaxy if you care to know): ...
1k views

### Creating a realistic, photo-like 3D effect from an image or document

Suppose I have an image or a document, provided in a high-quality PDF file. You can open and view it in a PDF viewer, but then it has a kind of static look: it's not something tangible, it's just an ...
154 views

### ListDensityPlot seems to break down for large arrays

(Using Mathematica 10) When using ListDensityPlot to plot 40000 + data points, the produced plot seems to be blurred/incorrect for points occurring later in the list. For instance, in the following ...
515 views

### How to create a Disk with smoothly changing coloring?

I want to have a disk. But this disk shouldn't have a fixed color; instead, I'd like it's color to fade smoothly. Until now, I came up with two ideas how to achieve this. Idea #1: ...
148 views

### Incorrect use of Scaled causes crash

Bug introduced in 8.0 and fixed in 10.1.0 While playing with Scaled, I made a syntax error which caused a crash instead of an error message ... Do you get the ...
192 views

### Keeping Font Relative Size to Object/Graphics/Plot Object upon Resize

I want to keep the text generated within a graph/plot to remain the same relative to an element (a disk of size 0.2) of the image upon resize, not the image itself, while maintaining the original ...
146 views

### Histogram 3D: use different bin width in two directions

I'm trying to plot an histogram of a set of data, I would like to use a bin of different width in x and y direction. I've tried using the following two codes: ...
77 views

### Possible to dynamically redraw single plot of multiple shown together?

I am attempting to create a tool to visualize gradient, eigenvector, and eigenvalue information for a 2D surface. I want to show a contour plot of an inputted function and overlay the gradient and ...
69 views

### LineScaledCoordinate problem for exact coordinates

Edit: Confirmed bug. CASE:2326540. Still the case in V 10.4. Solution: Wait and use N meanwhile. I've faced this problem ...
840 views

### Animate point going around a triangle

How can I animate a point moving on a triangle's sides? I can generate a triangle and point, but I have no idea how to define point movement. I'm guessing that I have to use $\sin$ and $\cos$ in ...
144 views

### How do you plot polygons with GeoRegionValuePlot?

How do you plot polygons in GeoRegionValuePlots? I'd like to reproduce what the call (2) (below) does with something like the call to (4). As you can see using GeoDisk(s) (3) works but the call (4) ...
180 views

### Epilog does not work as expected with Show [duplicate]

I was trying to answer this question (here) and I found that I can't use Epilog with Show. consider this Example: ...
79 views

### Version incompability Mathematica 10 CDF Player 9

I have aleady looked at these two questions: Is there a CDF Player for Mathematica 10? and Problem with NDSolve in Mathematica 9 / 10. My problem is as follows. I am simluating neurons, which ...
32 views

### ErrorBarFunction styles [duplicate]

I am having trouble making sense of the help I have found for the ErrorBarFunction command. I am looking for basic instructions on how to change the width, style, and color of my error bars. ...
73 views

### Why does Table returns values but Plot doesn't plot them?

The Table function works fine and return a nice list of values ...
268 views

### Drawing all lines between a set of points

Given that I have the array of points, ...
152 views

### Finding the pixel positions for the straight line joining two points [duplicate]

Please help me solve the given problem. Find the pixel positions for the straight line joining P1 (10, 20) and P2 (18, 25)
404 views

### How can I make an linear breakdown chart similar to those seen on iCloud? [duplicate]

How can I make a interval breakdown chart like this: Update: I checked BarChart and Gauge they do not have this capacity.
765 views

### Using DiscretePlot to graph the Riemann sum of a parabola

I want to graph the Riemann sum (upper sum) of $y=x^2$ with $1\leq x\leq 4$ using 6 rectangles. I want the rectangles to be green. On the Wolfram Mathworld website, I can render exactly what I want ...
120 views

### cut and project tilings — Amman Beenker tilings

A certain research paper gives a recipe for building Amman-Beenker tilings as a special type of cut-and-project algorithm. The result is usually a pleasant kind of aperiodic tiling shape. The ...
192 views

### How to create a custom filling with ListPlot

We have the following simple example ...
325 views

### Rasterized density plot with vector axes

I'm wondering if there is an easy way to get the plot below exported in a small pdf? The plot below is made in the following steps: step 1: Create a streamplot step 2: Create a densityplot, where ...
196 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: ...
605 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: ...
383 views

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

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. ...
42 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 ...
79 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 ...
322 views

### How to make a 2D plot of 3 variables (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]; ...
150 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 ...
301 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 ...
269 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 ...
313 views

### How to plot an implicit value funtion

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

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

Here is my code ...
621 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 ...
395 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 ...
440 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. ...
725 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 ...
1k 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. ...
210 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?
97 views

### ImageResolution Doesn't Work! [duplicate]

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] ...
81 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 ...
200 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 ...
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 ...