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
1answer
44 views

Remember Plotting Command [on hold]

I used a command in another computer to obtain a surface without using any input more than the command. It returns me a surface like this: Anyone knows the command or commands that let me graph ...
6
votes
4answers
117 views

Superimposing ListContourPlots on each other

I have two ListContorPlots that I would like to plot on top of each other for easy visualization. I tried using Overlay for ...
5
votes
1answer
256 views

I change a single constant and the simple script suddenly takes forever to complete

I writed a code to display the Dragon Curve fractal, and I reached my goal. The algorithm works by taking the previous two points and then adding the following one by making a 90 degrees turn left or ...
3
votes
4answers
190 views

Make spheres same size in Row

I have different 3D graphics containing spheres, for example pic1=Sphere[{0,0,0},1]; pic2={Sphere[{-1, 0, 0}, 1], Sphere[{1, 0, 0}, 1]}; I would like to show ...
10
votes
2answers
155 views

How to generate a closed B-spline curve?

Could someone tell me what does Wrap the first p and last p control points. mean? Please see here, THX I wrote a function called ...
0
votes
1answer
52 views

Remove color artifacts in overlay of several Graphics objects?

I am trying to create an animation with a graphic of an arm that can bend at the elbow. For this purpose I created the following two images: hand1 and hand2. I load the images with ...
1
vote
1answer
78 views

How to create a vertical (smooth) Histogram on the y-axis of a function graph for an uncertain x?

This is my first time posting a question in StackExchange. I have encountered a certain problem and I can't seem too find a solution. Just a word of caution, I am kind of an amateur when it comes to ...
5
votes
0answers
59 views

Creating a certain image (3D shadows, highlighted intersections)

I would like to learn how to code within Mathematica the following picture: I tried using ...
5
votes
1answer
152 views

How to show the projections of 3D orbit on the three primary planes

Perhaps this question has been asked before but even though I searched the site I did not find what I want. The code is rather simple: ...
0
votes
0answers
37 views

How do I change a 3d bspline curve to a polygon based graphic? [duplicate]

I have a graphics image generated with bsplines: Graphics3D[Tube[BSplineCurve[pts], 2]] I want to export this to a .stl file. To do so I know I need to modify ...
2
votes
0answers
113 views

Intersecting RegionPlots

Does the Mathematica graphics system have any concept of intersecting regionplots? I've found about intersecting graphics but not regionplots so far. For example, if I want to show the intersection of ...
1
vote
0answers
35 views

Formatting the output of SubstitutionSystem to create a Cantor set [closed]

I want to create a Cantor set using SubstitutionSystem, and plot it appropriately. This is the best I've been able to do so far: ...
2
votes
1answer
48 views

Dynamic update of displayed quantities on a Plot within manipulate

I'll admit that I only skimmed some other threads about this. They seem rather complicated in contrast to my simple problem. I have two lines in space defined by a two-by-two coefficient matrix. I ...
7
votes
1answer
128 views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
1
vote
1answer
45 views

Labelling Vertices of a GraphicsComplex

I cannot figure out how to label the vertices of a GraphicsComplex, for example ...
1
vote
1answer
98 views

Three dimensional plot with CountryData

I wish to visualize a 3D layout of country data using the following code. How can the output be improved as currently it looks smeared to one side. ...
3
votes
2answers
67 views

How to specify different colors for edges going between the same two vertices in Graph?

Here is an example: edge1 = Property[1 -> 2, EdgeStyle -> Red]; edge2 = Property[1 -> 2, EdgeStyle -> Blue]; Graph[{edge1, edge2}] This does not ...
3
votes
2answers
72 views

how to use filling in Graphic plots

i'm going to plot some angles in Trigonometric circle by using Graphic command how can i use filling axes by different colors in this program or color between the angles? ...
5
votes
1answer
72 views

Tracing the line of motion of a point in graphics

I'm a beginner in mathematica. I'm making a nb that calculates the output angle of a fourbar mechanism based on the input angle. So the input is the length of the four linkages and the input angle of ...
3
votes
1answer
51 views

Restricting VectorPlot3D to a specific region

I'm trying to visualize the vector field on $\mathbb{R}^3$ given by the matrix $$\begin{pmatrix} 1 & 0 & 0\\ 0 & \cosh(t) & \sinh(t)\\ 0 & \sinh(t) & \cosh(t) \end{pmatrix},$$ ...
0
votes
0answers
68 views

Can't get rid of vertical background color

I am trying to use GraphicsGrid, the background option is set to white, as well as for the separate graphs. But there are still grey stripes. What is the reason for these? And how can I get rid of ...
5
votes
2answers
114 views

Modifying the built in graphic format of colors

Can users modify the default format of colors in the front end? Red For example, dimensions, aspect ratio, EdgeForm? The motivation is the functional ...
-1
votes
1answer
72 views

how to Draw the letter geometrically by points [duplicate]

I have the given letter below. I want to draw it geometrically by using trigonometry and other formulas.Help me draw the letter OR give me the idea to draw the letter of any language using formulas. ...
0
votes
0answers
36 views

Generating graphics in a web page with CloudDeploy and FormFunction

When I execute this code locally on my laptop... ...
5
votes
9answers
563 views

Plotting a sequence of isosceles triangles of diminishing size

I try to plot the following graph using Graphics and Table. The graph consists of infinitely many isosceles triangles (without ...
0
votes
1answer
44 views

Transforming the x-axis of a figure created with customticks package [duplicate]

I have some data which i inter alia define and invert ...
3
votes
2answers
67 views

Color Polygons Using GeoListPlot works individually, but not together

I have following problem: and So far so good. But GeoListPlot[{test[[;; 2]]}, ImageSize -> 300] does nothing (produces a blank map). Similarly, the code ...
0
votes
1answer
48 views

How to give more importance to a variable in a chart

I have two variables, x and y. x goes from 0 to 10, 10 being best. ...
1
vote
2answers
56 views

Formatting a complex ArrayPlot

I want to produce the following ArrayPlot programmatically: To produce the leftmost grid, I tried this: ...
1
vote
1answer
48 views

Show scientific form number in Epilog on a plot

I'd like to overlay a scientific form number on a ListPlot at a particular position. Simply using ...
7
votes
3answers
187 views

Adding colors to graphic objects made with the new function AnglePath

The MMA 10.2 help gives many examples of AnglePath lines of code but all of them are of the same color and I am quite at a loss to devise a method to add colors ...
2
votes
1answer
79 views

Adding labels to graphics

Maybe not a very descriptive title, but I wasn't sure how to pin it down. What I have is an array of vectors, a numerical example of which would be ...
7
votes
1answer
77 views

Where is the other half of my fourth degree Bézier curve?

Bug introduced in 10.0.0 and fixed in 10.2 When I enter the following command, half of the fourth-degree spline is missing from the graph (i.e. it doesn't touch the last point). Is this a bug in ...
2
votes
2answers
93 views

How to create a bar graph that evolves in time to monitor a simulation

I imagine a random process that proceeds as follows: Suppose there are $n$ dice. ($n$ is pretty big). They exist in an arena. They are all bouncing around. They start in a random configuration. If ...
0
votes
0answers
35 views

ListPlot and ListLinePlot coloring bugs [duplicate]

I can't believe these bugs are still around. ListPlot[Transpose@Table[{n, n + 2}, {n, 1, 10}], Joined -> True, Mesh -> Full] ...
-1
votes
1answer
63 views

Rotate with Euler angles in Graphics3D [closed]

I need to rotate with the Euler angle sequence: Yaw by $\psi$ around $z$ Pitch by $\theta$ around $y'$ Roll by $\phi$ around $x''$ I know of Rotate[] in ...
6
votes
1answer
307 views

Dipolar magnetic field lines inside a cylinder

I'm drawing the magnetic field lines of a rotating dipole (magnetic field distorded by emission of radiation). Currently, my Mathematica 7.0 code is fully working, but I'm having a constraint which I ...
0
votes
2answers
70 views

How to draw multiple cuboids on the same plot

I have defined a table ...
1
vote
2answers
109 views

Styling the edges of a graph according to the multiplicities of the edges

I used the following code to make a simple triangle, in which the nodes have different effects each other: ...
2
votes
1answer
134 views

“ReliefMap” and “ContourMap” unable to download error

This question may be closed as "too localized". I post in the event other users have had this error and resolved it. The problem: inability to use "ReliefMap" or "ContourMap" options for ...
8
votes
1answer
154 views

How to make a Nebulabrot?

A Nebulabrot is a generalization of the Buddhabrot, a fractal rendering technique related to the Mandelbrot set that sort of looks like a meditating buddha. The Buddhabrot rendering technique was ...
8
votes
3answers
191 views

Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...
0
votes
1answer
63 views

Count participation of variable list

I have the directed edges of a graph given by a list of variable (vertex) pairs. ...
3
votes
2answers
85 views

How do you stack 2D graphics into a 3D graphic? [duplicate]

Suppose you have a series of 2D graphics that depend on a parameter. For example, ...
7
votes
2answers
166 views

Poor/wrong sampling in 1D DiscretizeRegion of splines?

Bug introduced in 10.1 and persisting through 10.2 or later Context In relation to this question I have would like to use splines to define a ...
9
votes
1answer
88 views

HighlightImage does not work consistently with Line

Bug introduced in 10.2 HighlightImage is supposed to work with graphics-primitives like Line and ...
7
votes
3answers
420 views

Drawing a trihexagonal tiling

I am trying to draw a trihexagonal tiling of the form: Original image. using mathematica. I attempted to begin by using the result given in this Stackoverflow Q&A. However, I couldn't figure ...
1
vote
1answer
50 views

Visualisation of feedback loops in a directed graph

Here are the nodes (vertices) of my graph: ...
6
votes
2answers
170 views

Mathematica-exported PDFs placed in Illustrator documents keep disappearing

This question is regarding interoperability between Adobe Illustrator and Mathematica. Illustrator has a File → Place... function which can insert complete figures inside Illustrator documents. ...
12
votes
1answer
317 views

How can we show the boundary of a WordCloud shape?

WordCloud can arrange the words inside a shape. ...