Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
9 views

How would one go about plotting this parameterized curve using numerical resources (analitically it's too hard)?

I'm working with the system of differential equations: $$\begin{align*} \left\{ \begin{array} { l l } { (u')^2 + (v')^2 = 1 } \\ {u'v'' - u''v' = -v' + u' } \end{array} \right. \end{align*}$$ Where $...
2
votes
1answer
65 views

unmatched output for density plot

I am plotting Abs[R] on y-axis vs k on x-axis with the following code ...
2
votes
2answers
78 views

How to prerender / rasterize a graphic without losing location information

I have a Graphics object for a detailed plot that has too many points and regions in it to be quickly rendered, which I want to use as a background for a ...
0
votes
1answer
31 views
1
vote
0answers
42 views

Regions, Mesh Regions, and Graphics

This behavior seems inconsistent to me: ...
4
votes
0answers
36 views
4
votes
1answer
126 views

How can I seamlessly stitch two separate 3D contour plots?

I am trying to make a 3D contour plot of a complicated function over a large parameter range, and I am struggling a bit to make it compute nicely and in a reasonable length of time: more specifically, ...
3
votes
2answers
68 views
0
votes
1answer
33 views

Trying to obtain the 2D version of a graph 3D graph

I'm trying to plot this function: f[x_, c_] := 527.5658823401758`*(1 - Erf[(2 x - 1)/(2^1.5)]) + 400.6284776272996`*(Erf[(2 (-c) + 1)/(2^1.5)] + 1) I ...
4
votes
1answer
100 views

Big Bird doesn't like my Tooltips

Plotting a word cloud in the shape of Big Bird works fine, but Tooltips seems to stop working when I superimpose the image. Here is the word cloud: ...
2
votes
1answer
65 views

How to improve the graph for an implicit function $|\sin x|^y + |\cos x|^y = 1$

I've recently posted a question on Math.SE related to the graph of the following function: $$ |\sin x|^y + |\cos x|^y = 1$$ I had some troubles with transforming the function to see what the graph ...
1
vote
2answers
27 views

Manipulate[] does not function when using `Prolog->Inset`

I want to slide the blue point with Manipulate[]. However, the following code does not function: ...
1
vote
1answer
32 views

Using CSPlotter

I am trying to use CSPlotter, which is a way of visualizing the contact structure of $\mathbb{R}^3$ by plotting several sections of planes. It is written for an old version of Mathematica. I included ...
2
votes
2answers
87 views

how to export a manually graph from mathematica

I draw Cos function using the code line : ...
0
votes
2answers
36 views

How to control the overlap in `Epilog->Inset[]`?

Problem Take an example as follows: ...
1
vote
1answer
54 views

How to add a border to a plot?

Consider a plot as ListLinePlot[{{10, 15, 20, 25, 30, 35, 40}, {1, 2, 3, 4, 5, 6, 7}}] I want to add a border to this plot like this I tried to use ...
0
votes
1answer
36 views

Confusion around rotation of Graphics3D objects

Subject says it all: I don't seem to be understanding how Mathematica's functions for rotating 3D objects work. Below is a simple example: What I want to do is rotate the cube in the example around an ...
0
votes
1answer
30 views

Function of a function using SphericalPlot3D

If anyone has any idea how to turn all of that plotting stuff (hcpii4plot) into a function which takes hcpii4angfunc[θ, ϕ] as an ...
1
vote
1answer
24 views

How to add boundaries for the points of a ListPlot?

I have a plot as below: ListPlot[{{{1, 5}}, {{4, 2}}}, PlotStyle -> {{Red, PointSize[0.03]}, {Green, PointSize[0.03]}}, PlotRange -> {{0, 5}, {0, 6}}] I ...
0
votes
0answers
22 views

Why does this code hang the kernel/frontend?

Here is the code I have: I'm defining an isometric transform (from here) ...
2
votes
1answer
92 views

How to extract graph from microscope image?

I have a microscope image of actin filaments and I'd like to extract the geometry of the bright lines into a Graph object: Here's what I have so far, using the ...
4
votes
1answer
107 views

How to use Glow in ParametricPlot3D

I get the output that I need from ...
0
votes
1answer
42 views

Rescaling and Image Padding Issues with GraphicsRow

I am trying to get a row of plots (which include legends and labels) using GraphicsRow, with vertical heights of the plots equal. I manually set the size and image padding of these plots so that the ...
3
votes
1answer
276 views

point light shining “through” polygons?

How can I get the point light to stop shining through the polygons? Faces that should be occluded by other faces are glowing green... :( ...
0
votes
0answers
66 views

Plotting with various Manipulate options

I am trying to plot with the following code ...
1
vote
3answers
76 views

Adding legends in a graphic [closed]

I have several datasets, and I successfully plotted them as points in a Graphic. Then, how can I automatically create legends similar to PlotLegends with a color and a label for each dataset in the ...
4
votes
2answers
115 views

Finding patterns in Graph visualization

Please comment me if you think this question is not related to Mathematica stack exchange. I am trying to draw a graph representation of the system shown below As you can see, when red line passes ...
0
votes
1answer
55 views

Finding surface fit on 3D graph that have different data length

I have a question to find the surface plot on the list of data with different data length. Each of the sample a different length, how can I combine all these data and find the best fit surface for ...
3
votes
2answers
75 views

How to filter-out edges in a HighlightGraph[] visualization based on VertexCoordinates[]?

I need to visualize a graph spatially, and I'm simply using: HighlightGraph[ConnectedGraphComponents[]] and the known coordinates of the graph's nodes. I really ...
1
vote
2answers
105 views

A problem in bifurcation diagram

I have the following problem ...
4
votes
2answers
67 views

Plot a gradient line on bar chart

Hi I have a question on how to plot a calculated gradient fit (fd4,fdata4) into a bar chart. Data 1 is the raw data, using FindFit function I got the gradient fit ...
0
votes
0answers
23 views

Exported metafiles have unwanted space--how to remove?

If I export an .emf or .wmf image file, once I import into MS Word, they have irregular space around the plots/tables that I have to manually crop off. How to I remove this space? If I export PNG or ...
5
votes
1answer
125 views

Automatically insert MMA plots into MS Word?

If I generate a hundred plots in Mathematica, is there an easy way to insert them into a Word file and add a caption? Currently I am outputting individual images as .emf's with a text file of ...
0
votes
0answers
32 views

Unwanted chopping of a figure while combining a plot with a graph

I have tried to combine a graph with two plots, but some parts of figure are missing after the combination. I have tried to fix it by changing the image size, but it did not work (by the way, since it ...
1
vote
1answer
46 views

How to draw a graph with background in dark, and vertexes in light?

I have a graph gph as below: gph = Graph[{1 -> 2, 2 -> 3, 3 -> 1}] Currently, the background is white, and the ...
3
votes
1answer
58 views

Direction of text when labelling graphs

On a related question to this, I am now experimenting the labelling with the circle points, ...
14
votes
4answers
894 views

How to visualize the Cremona method for cardioid generation

I saw this on Twitter and found the cardioid drawing quite satisfying. I don't know much mathematical background and was wondering if I can draw this using Mathematica. And this one apparently take ...
0
votes
1answer
45 views

Graph (network) styling: avoid vertices and edges overlapping

Is there a way to avoid the edges and vertices 'overlapping' in a graph with custom styling? That is, the edges should stop once they reach the 'border' of the shape representing the vertex (in this ...
0
votes
1answer
44 views

Manipulating radius of multiple circles simultaneously

I have a random data set, points = RandomReal[{0, 1}, {10, 2}] and from that set I'd like to plot vertices, and circles with a variable radius which I can ...
5
votes
1answer
110 views

How to force the ellipsoid of BubbleChart3D to be spherical when the BoxRatios is rectangular?

I have a BubbleChart3D as below, while the BoxRatio is rectangular: ...
5
votes
3answers
123 views

How can PlotLegends be added to Show

Every once in a while I would like to add PlotLegends to identify graphics combined with the Show command, but ...
1
vote
1answer
23 views

How to control `PerformanceGoal` at `ListContourPlot`

I am using ListContourPlot to plot a list of points. I am using the PerformanceGoal option inside of ...
2
votes
1answer
30 views

Rotating label in BarChart

I have created a bar chart, but I have some issues with the labeling of the sample in X-axis. May I seek help to find out how can I rotate the label in the X-axis direction. Appreciate the help. ...
1
vote
1answer
52 views

How to create a colour picture?

Hope to have a composite colour graphics after I put in complex number, part of t=1 is a color,part of t=2 is another color,and so on. Maybe my function is not good. How to fix it? Thanks a lot! ...
2
votes
1answer
119 views

Overlap two images and give movement and the result record it in an animated gif

I need to put the circular image 1 in the image with the hole 2 (and cover the gap) the idea is to create an animated gif that shows the image 1 turning to the right and image 2 to the left in a size ...
2
votes
1answer
52 views

RegionIntersection of Regions

This code does what I expected: It displays the region of intersection between two disks: ...
4
votes
1answer
101 views

How to generate a GraphicsComplex using a quadratic approximation function?

The code below illustrates a finite element mesh composed by quadratic 9-node elemets. I'm using the GraphicsComplex and Polygon ...
3
votes
2answers
73 views

How to scale a vertical quantity (e.g., scaled offset) with the width of a plot?

As stated in the Mathematica documentation, PointSize[d] is a graphics directive which specifies that points which follow are to be shown if possible as circular ...
0
votes
1answer
30 views

How to add gradient into the ErrorListPlot graph.

May I ask how to add the gradient that I have calculated into the errorlistplot? ...
3
votes
1answer
65 views

How to preserve scaled circular shapes when combining graphics?

The following code g1 = Graphics[{Thickness[0.01], Line[{{0, 0}, {10, 10}}], Disk[{5, 3}, Scaled[0.1]]}, Frame -> True] produces the following output I then ...