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
120 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): ...
6
votes
0answers
226 views

Mathematica 10.4 crashes when using too many font sizes

While working on How to make the digits of π around like this? I encountered a problem that Mathematica would crash at regular intervals with an internal self-test error, either ...
7
votes
4answers
505 views

Change appearance of ConvexHullMesh

I'm struggling to understand the behaviour of ConvexHullMesh (or rather the non-behaviour). I have a polynom p ...
2
votes
0answers
92 views

ElementMesh (rendering?) issue

The appearance of the following ElementMesh is bad as you can see for example on the inside surface of the shell. The same problem happens converting to a ...
1
vote
1answer
54 views

Building function where the output is graphic [closed]

I want to build a function, where the inputs are points and voronoimesh, and points. But, the output would be a graphics parameter. the code is following: ...
2
votes
0answers
62 views

Discrete color bar: height not adjusting

I am trying to adjust height of my color bar, but LegendMarkerSize is not doing what it is supposed to do. Code ...
126
votes
4answers
18k views

How to create word clouds?

Word clouds are rather useless fancy and visually appealing plots, where words are plotted with different sizes according to their frequency in a corpus. Many applications exist out there (Wordle, ...
6
votes
2answers
2k views

How to align rotated tick labels?

How can I align tick labels so the tick label text ends centered under the data point? Of Course it works fine with a rotation of 90 Degrees, but not with 45 or similar angles. I see an example of ...
3
votes
1answer
74 views
1
vote
1answer
58 views

Multiple Sphere from imported data

i have the centers, radius, and xyz coordinates of say 200 sphere that i'd like to plot in a box. I know how to do one sphere using this information and Graphics3D ...
12
votes
2answers
797 views

Convert Graph to Graphics

In Mathematica 9, a graph is returned as an object with head Graph: In[1]:= CompleteGraph[8] // Head Out[1]= Graph Right-...
3
votes
2answers
49 views

Trouble aligning Graphics with Image

I import the test image eloquently named "Tank2": img = ExampleData[{"TestImage", "Tank2"}] And do an extremly poor corner detection: ...
-1
votes
1answer
75 views

How to change the 3D Mesh resolution?

I need to fix the resolution of the mesh lines drawn on some surfaces, and currently I don't know how. Here's a MWE to work with (a simple sphere) : ...
1
vote
1answer
59 views

Labeling Points on a Plot

I have the following discrete map: \begin{equation} x_{n+1}=μ-x^4 \end{equation} for which I have used manipulate to see the way the system evolves depending on the real parameter $μ$: ...
2
votes
1answer
66 views

Is it possible to manipulate multiple graphs with one manipulate function? [closed]

I'm trying to find a way to manipulate a function and its derivative, but two variables of the function change. Is there a way to manipulate multiple graphs with the same set of parameters? Meaning, ...
0
votes
1answer
68 views

NDSolve Surface Plot to Compare Initial Values

I am trying to solve a system of differential equations which model reaction kinetics using NDSolve. I would like to generate a surface-plot of the function value as a function of time and the initial ...
6
votes
1answer
173 views

Making a 2D hexagonal mesh

There are a lot of answers for how to make a hexagonal mesh on a 3D surface but nothing on how to make a hexagonal mesh on a 2D surface. Can any provide code on how to do so? I am new to mathematica, ...
2
votes
1answer
148 views

MeshFunction at azimuthal angles for RegionPlot3D

Edit: I said "polar angle"... It should be "Azimuthal angle". Sorry. I want to plot a mesh line at a certain azimuthal angle in RegionPlot3D. My goal is to show ...
3
votes
1answer
680 views

How to highlight various parts of a plot

I'd like to show students a graph of a function, say $(x,y)\mapsto\sqrt[3]{x^3+y^3}$, and then highlight its various properties connected with (non)differentiability at certain points etc. Having ...
0
votes
1answer
125 views

rescaling ColorFunction for ListContourPlot

I have this question that I've been struggling with. I came across many similar questions, but those solutions do not work for me. What I looked at: Example 1 Example 2 Example 3 I apologize if I ...
45
votes
3answers
1k views

How can we make publication-quality PlotMarkers without version 10?

Suppose that for certain reasons we are not yet using Mathematica version 10, or we have a version with buggy PlotMarkers. It is well known that the default markers ...
19
votes
2answers
700 views

How can I generate a legend for a BubbleChart?

Is there a way to make a nice disk radius legend (with linear or log scale) for a BubbleChart? Something like the following example should be built in:
2
votes
1answer
82 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 ...
2
votes
2answers
60 views
10
votes
6answers
1k views

can the color in MeshStyle be specified by a ColorFunction, such as “SunsetColors” for example. If so, what is the correct syntax?

This is an example given in Help: Plot3D[Sin[x y], {x, 0, 3}, {y, 0, 3}, MeshStyle -> Gray] Could this be changed to something like ...
4
votes
1answer
459 views

How can I improve ContourPlot to get smooth curve?

I am working on the ContourPlot to creat contour line of a InterpolatingFunction recently. This is my data. This is my simple ...
-1
votes
1answer
49 views

Add polygon as text before the polygon values [closed]

I have the following values of two polygons: ...
1
vote
0answers
47 views

PlotLabel with Graphics [closed]

Wondering why my PlotLabel does not show up? ...
30
votes
2answers
729 views

Graphics elements do not line up perfectly in exported PDFs

Bug introduced in version 9.0 and persisting through 10.4 Graphics elements do not always line up perfectly in exported PDFs using "Save As..." method. Take, for example: ...
6
votes
2answers
124 views

How to horizontally center a button in manipulate?

I just need to center a button in the MWE code below. Currently, all I try doesn't work. I would like to horizontally center the button relative to the sliders over it, for aesthetical reasons only. ...
1
vote
3answers
198 views
6
votes
1answer
2k views

How can I view the code implementing a built-in Mathematica function? [duplicate]

Possible Duplicate: What is the most convenient way to read definitions of in-memory symbols when we don’t have the source files? I would like to look at the code that implements ...
6
votes
2answers
123 views

How to introduce two successive points inside the FixedPointList for each cycle?

If we want to draw the attraction basins of an iteration function of the following type $$x_{k+1}=x_k-\frac{f(x_k)}{\frac{f(x_k)-f(w_k)}{x_k-w_k}},$$ where $w_k=x_k+b f(x_k)$, $b\in R-\{0\}$, we can ...
0
votes
0answers
36 views

How can I add an arbritrary label to a detail in a Plot or Plot3D?

I know about the graphics primitives Line and Point. I also know about Labeled, but there the placement of the label itself is confined to one out of {Bottom, Left, Top, Right}. I am looking for a ...
10
votes
1answer
91 views

Arrows from GraphicsComplex not converted to Normal form correctly

Bug introduced in 7.0 or earlier and persisting through 10.4.0 Show @ Graph[{1 -> 2, 2 -> 3}, Frame -> True] Normal @ % Is this a pure bug, or have ...
8
votes
1answer
123 views

FilledCurve inside GraphicsComplex doesn't interpret the integers as points

Bug introduced in V9.0 or earlier and persisting through V10.4.0. Here's an example: ...
5
votes
1answer
123 views

How to remove edges of HalfPlane

Bug introduced in 10.0 and fixed in 10.4.0 EdgeForm[] does not work. ...
9
votes
3answers
670 views

Distorted graphics when using custom ticks and AspectRatio -> Full

Bug introduced in 7.0.1 or earlier and partially persists through 10.4 or later I am having a problem using custom tick specifications along with ...
0
votes
2answers
91 views

Tracing an image to produce a vector graphic

I have a line-drawing that I would like to trace into a vector graphic, but cannot find documentation on how to perform some of the basic graphic functions necessary to do this. Here is an example ...
18
votes
0answers
413 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.4 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
3
votes
1answer
71 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
225 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
67 views

Increase resolution of ListContourPlot3D

I have this code that I want to compute to create at Gyroid, ...
3
votes
2answers
86 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 $u<\frac{3}{...
7
votes
3answers
236 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
98 views

Plotting with arrowheads and labels

I want to add arrowheads and labels to the following plot. ...
1
vote
1answer
159 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 value,...
4
votes
2answers
191 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: ...