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

3
votes
1answer
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 ...
9
votes
1answer
203 views

How to discretize a BezierCurve?

Bug introduced in version 10.0 and persisting through 10.4 DiscretizeGraphics is new in 10.0. I need to create a discretized region from a ...
1
vote
1answer
62 views

Increase resolution of ListContourPlot3D

I have this code that I want to compute to create at Gyroid, ...
3
votes
2answers
82 views

how to draw the intersection when a function intersected by a plane

I'm sorry, this maybe a very basic question. $z=x^2+y^2$ that intersects a plane passing through the point (1, −1, 2), which is perpendicular to the xy-plane and parallel to the vector ...
7
votes
3answers
227 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
3
votes
2answers
91 views

Plotting with arrowheads and labels

I want to add arrowheads and labels to the following plot. ...
1
vote
1answer
150 views

Problem with convergence of limiting value in Manipulate

I created a nice Manipulate box of the magnetic field outside and inside a spherical shell placed in an homogeneous magnetic field. The code is working great, but it has a problem at a limiting ...
4
votes
2answers
188 views

Ploting a parallel graph for an animation

I am sorry that my attempt to obtain a fully functional plot as I want failed badly because I am not able to integrate the features to the graph. Here is my simple code: ...
26
votes
3answers
2k views

How to change ColorFunction after plotting

Say I have a plot like plot = DensityPlot[ Exp[-((x-5)^2+(y-5)^2)/5^2], {x, 0, 10}, {y, 0, 10}, PlotRange -> {0,1} ] Is there a way to ...
2
votes
2answers
142 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 ...
8
votes
1answer
87 views

WordCloud: can words' style and orientation be functions of words?

Function WordCloud can take such options as WordOrientation and ColorFunction. It is not ...
1
vote
3answers
148 views

How to draw a triangle like this one

I have a rectangle of x by n and need to draw the the that bisects the corners as percentages of the rectangle. The example plot shows from 0% to 100% by 5% increments. Can this be done in ...
3
votes
3answers
199 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 ...
4
votes
1answer
74 views

Is it possible to user-define the percentages for lower/upper whisper/fence in BoxWhiskerChart of MMA? [duplicate]

BoxWhiskerChart draws a box-and-whisker summary of the distribution of the input data. I would like to show the 2nd, 25th, 50th (the median), 75th, and 98th percentages of the input data. Is ...
0
votes
2answers
161 views

How can I make a 3D Plot with NDSolve?

I have a system of coupled ODEs which I am solving using Mathematica. I am solving these using NDSolve: ...
2
votes
1answer
66 views

How to check a clockwise direction for a list of point [closed]

Suppose that we have a list of points and we need to order them in clockwise direction by starting from a special point. I implemented this code to order them but I need to detect if it is ordered in ...
5
votes
2answers
228 views

Drawing circular patches around arbitrary points on a sphere

I am trying to draw circular patches of given angular radii around arbitrary points on a sphere. I am able to use, for example, ...
8
votes
1answer
138 views

Petrie polygon projection of a hypercube graph

I am trying to generate the Petrie polygon projection of the 8-cube in Mathematica, like this one: I tried using, for example, the HypercubeGraph function: ...
4
votes
1answer
189 views

geodesics' on torus

Is it possible to draw geodesics between the points in a path on a torus - toroidal surface? geodesics: generalization of the notion of a "straight line" to "curved spaces" ...
3
votes
1answer
111 views

Is there a way to control the placement of individual tick mark labels?

Let me start by saying there are a lot of other questions here on SE and elsewhere about tick marks in MMA but I think I am correct in saying that none of them cover exactly what I want (apologies if ...
3
votes
1answer
117 views

How to do individual axis labeling with use SciDraw multipanel figures?

I am trying to make a 6 panel figure for publication where each X and Y axis has its own label. Here is simplified code and its output: ...
3
votes
1answer
131 views

Positioning of tick labels in a 3D plot

I am looking for an easy way to force this plot to label the $y$ axis with numbers below the axis automatically in the given view point. Now the label switches to the bottom when the view point ...
2
votes
2answers
97 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? ...
5
votes
1answer
253 views

How to plot graphics objects such as lines or polygons logarithmically

I am making ListLogLog plots with polygons in the Prolog and lines in the Epilog, and I want ...
0
votes
0answers
77 views

Problem with BSplineCurve 3D

I have a problem using the function BSplineCurve [ ] . I have to represent a line passing through about 3000 points in 3D. I managed to plot the points separately, but when I use the 3D BSplineCurve ...
3
votes
1answer
118 views

Adding text on an .xyz file of an atom

I know it is possible to view .xyz files of coordinates in Mathematica. I tried to write some text on a specific atom using Text, but I was not successful. How can i do that? Thanks for the help in ...
2
votes
1answer
93 views

Interacting with the vertices of a polygon and points on a circle

I want to create an interactive module, where I can plot the vertices of polygon and some points on a circle(for example, suppose a triangle and 3 points on the circle) and move the vertices of the ...
2
votes
1answer
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 ...
1
vote
1answer
99 views

Show the number of rectangles under a curve

I am trying to manipulate the number of rectangles under a given curve, so far I can show the size of each rectangle, but I am not sure how to tell the number of rectangles. ...
4
votes
2answers
141 views

Scatter plot with bar markers

I'm trying to essentially make a scatter plot where instead of points, the markers are bars that connect the point to the bottom of the graph (like a histogram). My problem is that my graph has ...
3
votes
0answers
42 views

Highlighting individual 'cells' in Matrix/ArrayPlot [duplicate]

I am plotting some matrices / arrays via MatrixPlot and ArrayPlot, and I would like to highlight several of the cells via ...
0
votes
1answer
44 views

Graphics is not a primitive or directive- please help! [closed]

I cannot seem to draw a windmill that fits in the photo background. Any help is appreciated! Thank you :)
1
vote
1answer
154 views

Move a point along a curve

I am trying to implement the de Casteljau algorithm to trace a point along a Bézier curve. I already have the Bézier curve in place given by the control points ...
3
votes
1answer
43 views

How to get DateListPlot Epilog to display shapes

The following should produced a plot with an orange outlined disc labelled "A" on the dotted line. Epilog produces the dotted line and the text label but is unable ...
5
votes
2answers
215 views

Filling between two B-spline curves

I am trying to fill the space between two curves (curve1 and curve2) I generated since long but unable to do so. Can some one help on this please. The following is the code snippet. ...
0
votes
0answers
85 views

Intersection of two cones

I want to plot a region difference between two cone, but the results seems to be very deformed.. ...
2
votes
2answers
58 views

How to mix symbols and text for labels in manipulate? [closed]

I'm creating a big manipulate box with several sliders, and each slider must have a small explication text (units, for example) after a mathematical symbol. As a simple example, here's the code I'm ...
3
votes
2answers
111 views

Rounded rectangle with color gradient [duplicate]

Basically I'd like to produce a graphic like this: That is a rectangle with rounded corners, filled with a color gradient. While Rectangle offers the ...
1
vote
0answers
44 views

Graphics row/case number showing [closed]

I want to draw scatter plot of two variables and showing the case number of on points of graph. and also multiple scatter graphs. Further these graphs are not disturbed on formatting their size. Dear ...
2
votes
1answer
83 views

Combine three 2D graphics with animation

I am trying to simulate three kind of points (different color) entering a 2D rectangular region from different sides with animation. Below is my code: ...
7
votes
2answers
182 views

How to draw a family of planes and its envelope?

Motivated by a question in MSE, I have the following question: How can I visualize the envelope of the family of planes $$ 2ax+2by-z+a^2+b^2=0, a,b\in\Bbb{R} $$ which is given by the ...
2
votes
1answer
50 views

How to trace back to the reasons of this GUIScreenShot's behaviour?

The question I'm going to pose is surely, in some extent, version dependent, however I conjecture that it's rooted in general aspects of video manager architecture in Windows. This, I believe, makes ...
4
votes
2answers
89 views

Ex-post monochome plots [duplicate]

I need to "monochromize" a large amount of plots (mostly coming from ListPlot) and export them to PDF. The problem is that I no longer have the data used to ...
1
vote
0answers
63 views

How to properly set ColorFunction and Specularity in ReliefPlot [closed]

I have two questions about ReliefPlot: How can I set the Specularity without changing ...
2
votes
0answers
110 views

How to make a flowchart? [closed]

I'd like to make a flow chart in similar to this: I think it's more of a layout and stylistic question for a graph - how to style a graph with labeled edges and vertices so that it looks like a ...
5
votes
1answer
229 views

Unexpected result when using PlotRange in Mathematica 10

Show[ Plot[x, {x, 0, 1}, PlotRange -> All], Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1] gives the expected result in ...
5
votes
1answer
169 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
4
votes
2answers
198 views

How to draw a moving point with time?

I am new to Mathematica. Try to draw a point moving with time. Like at t=0, a point is at p1(coordinates are random numbers); at t=1, this point is at p2. And there is always ONE point on the graph. ...
22
votes
2answers
2k views

Generating convex polyhedron from face planes?

Suppose I have lists of normals and points for planes. There's a convex polyhedron whose faces lie on these planes and are bounded by plane intersections. What would be the easiest way to produce an ...