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

253 views

### How to define a custom 2/3D graphic primitive like built-in?

There are lots of basic graphic-pimitive in Mathematica, such as 2D- pimitive: Line[], Circle[], Disk[] and 3D-pimitive: ...
152 views

### smooth spline through airfoil coordinates

I am trying to produce a smooth spline curve through a set of airfoil coordinates. An example for the data I am trying to use is here, and I am reading the file like so to get rid of some extraneous ...
50 views

### How to combine the graphs? [on hold]

I have code such as graph=ConstantArray[0,{1,nel}]; I have a graphlist such as; ...
170 views

### Visualize Space Pascal's triangle

I found this image on the web, and I want to know how to draw it with software. I tried to search, and found this. I have learned a mapping in the plane.
205 views

### How to combine scaled, rotated, etc. graphics objects? [duplicate]

This may be a trivial question, but I seem to be missing something. Let's say I create a graphics object like so: ...
474 views

### Converting a Sierpinski tetrahedron to a Graph

I need a representation of a 3D Sierpinski gasket in a form of a graph to perform some simulations on. The 2D version is included in GraphData[], but the 3D one is ...
971 views

### Generate a certain colorful triangle

I want to get a colorful triangle like this: I hope to get a triangle with any number of layers. This is my current method. Actually, I'm not very content with these graph theory functions, since ...
42 views

### How to highlight listplot data

I plotted a data ListPlot[{{1,2,3},{4,5,6}}]. When I point the mouse over point {1}, it should appear at the end of the tooltip and the corresponding data point {4} ...
30 views

### Make a grid of lines with a For[] loop inside a manipulate statement

can anyone help me? I'm tring to write a Manipulate[] statement that can be able to modify a grid of lines in length, height and change the space between them. It ...
543 views

### How can I generate an interrupted projection of a world map?

How can I generate a world map like the one here, but for an arbitrary hand-drawn map? For example, starting from scratch, how can I manipulate this world map to get something that looks like ...
61 views

### Translation especially in graphics

By running the following code: ...
259 views

### Building a Career Ladder Lattice (Follow up)

I want to thank you both for your help above. I'm going to abandon my quest for a number to label substitution using VertexRenderingFunction; because I need the ...
1k views

### Increase 3D Graph thickness for 3D printing in Mathematica?

My code: Plot3D[{(2*x*y)/(x^2 + y^2)}, {x, -2, 2}, {y, -2, 2}] Output: And now I can export this to STL by using the export STL command, however, when I try ...
116 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 ...
201 views

### Adding arrows in Tangent

I want to add arrows to the start and the end of the Tangent curve. My first try was successful, ...
1k views

### What does DisplayFunction->Identity do to graphics functions?

Does DisplayFunction->Identity do anything at all in Mathematica 8? In the third edition of Programming in Mathematica, Roman Maeder gives the following ...
52 views

### How to implement multiple EventHandlers? [duplicate]

n00b Mathematica user here. I wrote this code: ...
81 views

### Loops and Graphics in Mathematica

I want to create a loop in Mathematica such that it creats multiple graphs for me. For example, I have a command of the form: ...
10k views

### Plotting Error Bars on a Log Scale

I have a plot with ErrorListPlot ...
1k views

### Pixel perfect world map with no border lines

I'm trying to build a real world map in Minecraft and want a pixel-perfect raster image I can copy pixel for block. How can I modify ...
55 views

### How to make circuit-like diagrams [duplicate]

I was reading through a blog post and found some really nice graphs, and I was wondering how to generate similar ones with Mathematica:
511 views

### Visualising Special Relativity

Mathematica newbie learning by doing (or not so far, in this case). Problem: Special Relativity - consider two inertial frames $A$ & $A'$ in relative motion. At a time $t0$ as measured in $S$, ...
161 views

### Transparent bitmaps or graphics in gui objects initially appear wrong

Bug introduced in V9.0 or earlier and persisting through 10.4.1 I have a problem with images with alpha channel which I want to use as labels on Button etc. ...
25 views

### Dynamic graphics appears first with wrong background [duplicate]

This is one of those annoying things that you put aside for years before making a post of it. Put a dynamic Graphics into a gui object (...
407 views

### How can I combine a list of Line[]'s into one continuous Line?

I have a huge list of Lines. Take this one as an example: ...
341 views

### How can I better mimic the graphics at earth.nullschool.net?

I'd like to be able to better mimic the graphics at earth.nullschool.net using Mathematica and I'm looking for suggestions for either improving my code or getting directed to some other approach. ...
318 views

### How to solve for the intersection points of two ellipses?

I have a parametric equation of two ellipses as follow $\begin{cases} x=a_1 \text{sin$\theta $}+b_1 \text{cos$\theta $}+c_1 \\ y=d_1 \text{sin$\theta $}+e_1 \text{cos$\theta \$}+f_1 \\ \end{cases}...
39 views

### Programing the Euler characteristic

The Euler characteristic theorem is a wonderfull theorem not only from the mathematical point of view but also from the scientific view point. Here is a version that I would prefer to program by ...
189 views

### Why do Disks become polygons in RegionPlot?

I want to RegionPlot a reinforced concrete section, by drawing a polygon as a rectangular shape, and on top of that, a number of circles as ...
150 views

### Weird behaviour of HighlightImage—bug or not?

For background, check my answer under this question. It is clearly stated in the documentation of HighlightImage that the 2nd argument,...
271 views

### Fractal basins of attraction in a Magnetic Pendulum

I am trying to write a Mathematica program that realizes a graphical approximation of the basins of attraction in a Magnetic pendulum subject to friction and gravity, in which the three magnets are ...
208 views

### Turning arrowheads off

My thinking was that Arrowheads[0] would turn off the arrowheads. ...
143 views

### How to fill outside instead of inside graphical shapes?

I want to omit parts of Graphics from scenes by defining a geometric shape where details are visible, a "keyhole" of sorts, and fill all the rest as one would do to ...
278 views

### Export rotate bug in Mathematica v10

I think I've stumbled upon a bug in Mathematica v10.0.0 on linux. Rotate does not seem to play well with export. If I run: ...
226 views

### Color coded bar to represent numeric values

I would like to present data color coded in a bar. My data look like the following: {-2.5,-1.0,0.1,0.5,-0.24,-0.58,-0.58,-0.25,-1.4,2.1,1.8,-2.5,1.97} I would ...
135 views

### ErrorListPlot ignores some exact data points

Bug introduced in 10.0 and persisting through 10.4.1 or later Possible bug? Or am I missing something / expecting too much? Forgive the seemingly obscure data points but they're where I've noticed ...
230 views

### How to get the coordinates of the intersection of two lines from a ListLinePlot?

Suppose I have two curves intersect at some point, how can I read the coordinates from the graph, not read by eye, but find it with more precision by computer. For example, here are two lists created ...
76 views

### Plot with a reference line and shaded / colored region

How can I add horizontal reference lines at 4 and 6 (y-axis) and shading below each reference line on the following plot? Plot[i, {i, 1, 10}] Thank you!
943 views

### Draw half empty rectangle

How can I draw an half or a third filled rectangle? I want to make one rectangle frame with a unity width and then filled it according to a value between 0 and 1.
83 views

### Mapping a simple 2 variable function

Quick Question: What is the best way to map this function so it performs seperately for 102 different values of x? ...
103 views

### Is there a better way to produce a shape with exclusions in RegionPlot3D? [duplicate]

I'm attempting to create a certain shape. It's essentially a rectangular prism with an array of cylinders cut out of it, and then some half shells of cylinders along the sides. My attempt is basically ...
78 views

### How to export an already rendered image sequence?

I have an image sequence of around 1000 images in a .nb-File which I would like to export to PNG format (1000 images into a folder). If I use "Save as..." -> "Web page" Mathematica saves the 1000 ...
28 views

### Why are there these jagged “shards” in my RegionPlot3D?

I'm creating a region out of two component regions. Before anyone suggests it (because a lot of similar questions are about it), I don't think the problem is increasing PlotPoints. I've increased it ...
78 views

### How to get the desired view in ViewPoint function

What should be the values for ViewPoint function to show the position I want? My code is this: ...
89 views

### Creating a grid with numbered spaces and other markings

I am writing a graph theory paper about forbidden induced subgraphs. My coauthors and I have a list of 167 graphs that we would like to include in a diagram in the paper. I have generated all of these ...
82 views

### How to plot the difference between two regions? [duplicate]

I'm trying to take the difference between two regions. In this case, one region is a cuboid, and the other is a cylinder. Here's what they look like drawn with Graphics3D: ...
250 views

### How to retouch (smart fill) photo image?

Can the program proposed by Alexei Boulbitch at the post of Custom arrow shaft be adapted to retouch an image in setting a mask arround the part one desires to disapear? This is only a suggestion, ...
132 views

### Unattractive streaky rendering of Graphics3D images

I often find that Graphics3D drawings appear "streaky" in places. This can be seen in the picture below (taken from my question here). There is an unattractive patch where the colour changes ...