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

learn more… | top users | synonyms

0
votes
0answers
17 views

How to create this spikey in Mathematica?

I came across this post while messying around the StackExchange mobile. I think this thing can be easily done by Mathematica as well but I'm not an expert in geometric field. Can anyone give some ...
0
votes
0answers
14 views

How 3D grid drawing?

The idea is to make axes 3d, with a more subdued in black mesh, and shafts with their respective numbers with a maximum of 10 in each (black to print after the size of half a sheet craft, vine also ...
-2
votes
2answers
102 views

Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries

Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
2
votes
1answer
118 views

Cannot combine GeoPosition polygons in version 10.4

I was using with Mathematica 10 for plotting different kinds of maps the function PolygonCombine. It seems that this fucntion has disappeared with the version 10.4? Here is a classical example for the ...
2
votes
3answers
790 views

draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
3
votes
1answer
80 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
7
votes
2answers
86 views

Control of individual Framed edges?

Is there an option or method for Framed analogous to Frame in Graphics to control display of ...
10
votes
0answers
106 views

ErrorListPlot ignores some exact data points

Possible bug? Or am I missing something / expecting too much? Forgive the seemingly obscure data points but they're where I've noticed a problem. ...
1
vote
1answer
43 views
1
vote
1answer
161 views

Positioning Labeled points in ListPlot gives unexpected results and errors

Original question can be seen in the edit history.... Update A simpler example - same problem. ...
5
votes
1answer
150 views

Background colour of text in graphics

I see this strange behaviour when both the containing cells and the graphics have a non-white background. I set the style of a notebook to "Standard Report" (Format -> Stylesheet) and did this: <...
1
vote
0answers
46 views

Magnify Part of a 3D Graphic [duplicate]

I have a 3D Graphic built, and I want to magnify part of it. I would prefer a circle or ring-shape that can be placed anywhere in front of a 3D graphic that would magnify it. Ultimately, I want to ...
1
vote
1answer
40 views

How to suppress mouse over error messages on graphics

How do I suppress these they are preventing me from getting coordinates. Here is the code to create the graphic if it helps. ...
47
votes
2answers
3k views

An efficient circular arc primitive for Graphics3D

As many people have noted, the 2D graphics primitive Circle doesn't work in a Graphics3D environment (even in v10.0-v10.4, where ...
0
votes
0answers
20 views
44
votes
5answers
6k views

How can I extract data points from a black and white image?

Consider the following graph (source): Is there any way to extract the data points from this image in a semi-automatic way? I have seen, and tried the methods suggested in this question, but they ...
1
vote
1answer
47 views

How to make an empty plane, and add points on the way

Apologies for the noob question, I'm not very experienced with Mathematica, but I need it for a presentation. What I would like is to make the x-y plane with both coordinates running from say, -5 to ...
0
votes
2answers
149 views

Selecting points inside a closed curve

Let's create a rather dense grid of initial conditions ...
0
votes
0answers
35 views

How to save the graph from mathematica in SWP(scientific work place) [closed]

How to save the graph from mathematica in SWP(scientific work place), as directly copy can't working. Please help?
1
vote
1answer
71 views

How can I reflect a graphic across a line? [closed]

I would like to make an animation that shows where a graphic (square, circle etc) would be after it is reflected over a line. Thanks
0
votes
1answer
77 views

How can I make a graph that compares two sequences

I have two data sets. I produce the first one from the following code: ...
2
votes
2answers
124 views

How to plot an Eddington-Finkelstein diagram

I need to plot the same thing as what is shown on the third picture of the site below (sorry, I'm unable to poste that picture here) : http://ion.uwinnipeg.ca/~vincent/4500.6-001/Cosmology/...
31
votes
4answers
4k views

How to create this four-dimensional cube animation?

This is a tesseract, a four-dimensional cube, which contains two cubes. Here, each side length of the smaller one is 1, while the side length of the bigger one is 2. How do make I it? I am still ...
14
votes
2answers
202 views

How to prevent Dynamic activity with color swatches in V10+

Since version 10, if I type e.g. an RGBColor or simply a named color, a dynamic colour swatch is returned. Same goes for when you e.g. extract colours from a ...
3
votes
2answers
163 views

Moving a locator based on the movement of another

My problem is: I want two Locators to simulate a vector in the following sense: The first Locator is the base and the second ...
0
votes
1answer
62 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? ...
3
votes
2answers
100 views

Hovering over specific coordinates on a picture

I'm working on a small function which can be used so that when the user hovers over certain coordinates in a LocatorPane, these coordinates can be checked against a separate list of coordinates, and ...
1
vote
0answers
54 views

Real, scaled sizes of bubbles in bubblechart [closed]

I'm trying to create a BubbleChart3D with sets of 4 numbers, to see which spheres overlap. ...
17
votes
3answers
516 views

How to compute the boundary of a group of ellipse efficiently?

Update1 I discovered that the bountary of a series of ellipses consists of the following three parts Part (I): the first ellipse's effective black-segment; Part (II): the effective ...
-1
votes
2answers
63 views

How can I get the coordinates of a graphics primitive from a Graphics expression?

For example I have square = Graphics[Polygon[{{0, 0} ,{0, 1}, {1, 1}, {1, 0}}]] What functions can I apply to sqaure to ...
2
votes
4answers
257 views

How to draw a triangle like this one

I have a rectangle of size $x \times n$ and need to draw the line that bisects the corners as percentages of the rectangle. The example plot shows a range from 0% to 100% in 5% increments. Can this ...
7
votes
1answer
141 views

Plot3D producing wrong axis labels

This is some rather perplexing behaviour. If I try to specify labels for the axes of a 3D plot, sometimes they will go completely belly up: ...
51
votes
6answers
6k views

How can this image (optical illusion) be created with Mathematica?

I came across this image the other day: and liked the sensation of it pulsing. I was wondering if anyone would know how to create something similar with Mathematica (without the Pink Floyd Dark ...
26
votes
4answers
4k views
6
votes
2answers
486 views

Using Greek $\LaTeX$ fonts

I want to use the $\LaTeX$ font in graphics. For text/numbers, this is easily done by FontFamily -> "CMU Serif" (on Ubuntu) like this: ...
13
votes
4answers
558 views

Quirk in VertexColors interpolation when displaying Polygon

When using VertexColors, the docs state: The interior of the polygon is colored by interpolating between the colors specified by ...
2
votes
1answer
148 views

Complete and utter nonsense with Overlay and Graphics

I'm trying to simply overlay some text and a scalebar onto an image. I'm getting (what I perceive to be) completely ridiculous results while trying to do this. Here's the code: ...
1
vote
1answer
30 views

Correct range for X-axis in ListLogPlot

There must be a quick solution to this problem: How do you get the correct range for the X-axis. Attached below is the code: ...
-4
votes
1answer
102 views

Small sphere circling at intersection of sphere and sinusoid [closed]

I have an equation for a sphere which is x^2 +y^2 + (z - 1)^2 == 1 and for a sinusoid which is y == Sin[x] with ...
1
vote
0answers
59 views

Using RegionPlot to create letters

I unified several regions in order to create a simple word : ...
1
vote
2answers
188 views

How can I re-create the original Graph object from Graphics object into which that Graph was converted previously?

We can convert a Graph into Graphics very easily like it is shown in this answer. My question is: how to convert a ...
-3
votes
1answer
89 views

Uniformly varied circular motion

How do I get a plot with the results of the angles, speeds and accelerations theta3 e theta4 for each input angle value theta2? Where: R1 = 450, R2 = 125, R3 = 348 and R4 = 215. Initial speed = 25 rad/...
2
votes
2answers
96 views

Change or force plot legend marker symbols

I am wondering if there is a way to force the plot legend symbol for each respective plot. I am currently using a package created by AlexeyPopkov, which corrects the off-centre plot marker issue very ...
3
votes
1answer
106 views

Plotting huge amount of data with non-default colour function

I want to plot a huge amount of binary data (a 2700x2001 matrix, 5402700 points), and for that I am using the Graphics[Raster[]] function. With just that command, ...
0
votes
1answer
50 views

Graphics with grid lines [closed]

With the following example code Graphics[ { Line[{{0, 0}, {6, 6}}] }, ImageSize -> {500, 500}, Frame -> True ] I get: How can I produce grid ...
102
votes
7answers
9k views

Generating visually pleasing circle packs

EDIT: (my conclusion and thank you note) I want to thank you all guys for this unexpected intellectual and artistic journey. Hope you had fun and enjoyed it the same as I did. I would like to ...
1
vote
0answers
27 views

Remove surface from graphic [duplicate]

How to remove surface from the following graphic? I need only Mesh, (black lines). ...
53
votes
7answers
5k views

How to plot Venn diagrams with Mathematica?

How does one plot Venn diagrams with Mathematica? I've searched quite a bit and I've found one source at MathWorld which provides the source code for doing them. But I don't understand this code, can ...
2
votes
1answer
169 views

Vector graphics in Export for Video rendering [duplicate]

I am trying to generate a vector graphics video in Mathematica. I stumbled upon SWF format (PNG are raster images which I'm not interested in). SWF format works fine for me but the axes and the ...
0
votes
1answer
49 views

“Graphics is not a Graphics primitive or directive.” when returning an `Import`ed image for `VertexShapeFunction`

I am trying to use Graph (not GraphPlot) and replace some of the vertices with an image, like so: ...