Questions tagged [graphics]
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 Plot commands.
4,906
questions
-1
votes
0
answers
53
views
"Table is not a Graphics primitive or directive." Error (Case specific)
I have seen other stack exchange posts regarding this error, but I am not quite sure how to apply the solution to my code. It would be nice if someone could give me some pointers on how to correct it. ...
0
votes
0
answers
40
views
The graph of function touching $x$ axis [closed]
I am trying to plot the graphs of two functions. Everything is fine except tthat the graph of first function is intersection $x$ axis which is not true. It has no value below or on $x$-axis.
...
1
vote
1
answer
51
views
Adding and formatting legends in Show with different kind of graphics
I would like to add a legend to a combination of plots obtained by Show. For example:
...
9
votes
2
answers
667
views
Rocky Mountains Elevation Cutout
I was wondering whether Mathematica has the data to make a diagram showing a cutout of the Rocky Mountains, showing the elevations from San Francisco, say, to Denver, for example. Something along the ...
2
votes
0
answers
53
views
How to generate lensed light animations like this?
How can one generate the projection simulation effect in the following video (from Apple's webpage (minus the logo of course)).
I would like to be able to create a similar-looking shader animation in ...
3
votes
1
answer
151
views
How can I draw triangles within a triangle if I know their perimeters?
I am trying to draw this picture with perimeters of the triangles in a larger triangle. I don't know how to start.
1
vote
1
answer
70
views
Can I make rendering of BSplineCurves more accurate?
My gently curving BSplines are being rendered as straight lines that are long enough to look bad. As an example, consider drawing a dartboard, with its twenty colored sectors. The outer boundaries ...
0
votes
1
answer
61
views
Colour scheme for this graph
How to produce a graph with the colour scheme used in the graph shared below?
I have the following code for measuring the eigenstate and eigenvalue
...
-2
votes
3
answers
253
views
How to resolve this calculation prompt that appears after running the drawing program?A bug in version 14.1.0 [duplicate]
The code as following and the code runs in Mathematica version 14.1.0.
...
2
votes
1
answer
67
views
SwatchLegend using a table
I am facing a problem while adding another column to the SwatchLegend using a table. The below code is provided in Mathematica Documentations
Original Code
...
11
votes
2
answers
403
views
Reproducing strong visual effect of the rotating cube illusion
A very "strong" visual effect illusion was posted recently HERE. Here a few frames of it at low resolution. The cubes are NOT rotating in reality. Curious: to see cube NOT moving use "...
-1
votes
0
answers
40
views
How to extract shaded regions from a pdf?
Consider this pdf:
I would like to extract the coordinates (in the frame of the pdf) of the boundaries of the green and blue-shaded regions. I only know how to extract curves from the plots, which ...
0
votes
1
answer
53
views
Plot Mesh with the given coordinates ListDensityPlot
Assume I have a set of points {x_i,y_i,f_i}, i=1;;N, which are not equidistant. Now I am plotting them via ListDensityPlot[{{x_1,y_1,f_1},{x_2,y_2,f_2},......}].
How I can plot a Mesh, which with ...
0
votes
1
answer
61
views
Integer points on a line segment
I have two rational points. They are denoted below in black and they define a line segment. Find integer points on this segment.
...
3
votes
1
answer
48
views
Line-separated MatrixPlot based on magnitude
Given the matrix
...
0
votes
1
answer
49
views
Unwanted Triangular Mesh Artifacts in ContourPlot When Exporting as PDF [duplicate]
I am using the following Mathematica snippet to generate a contour plot:
...
3
votes
2
answers
252
views
Problem with illustrating pathways
This is slightly different from this and this question. We are focusing on an illustration of all pathways from a specific sample.
Suppose we have the following sample:
$$\small{\mathcal{S}=\left\{(-1....
0
votes
1
answer
51
views
Plotting arrows whose lengths are proportional to a list of numbers on a 2D grid
I am trying to plot arrows whose lengths are proportional to a list of numbers, on top of a 2D arrayplot. For example, I have an Arrayplot like this-
I was able to lay circles whose diameter was ...
0
votes
0
answers
18
views
Issue with RegionFunction as an option in ListContourPlot [duplicate]
I've come across an issue using the RegionFunction option in the ListContourPlot function. The issue is illustrated in the notebook that I've published on Wolfram Community - see https://community....
3
votes
1
answer
237
views
MoleculePlot atom labels too large in version 14.1 in Linux
It appears that the internal scaling for MoleculePlot is off in the Linux version of Mathematica 14.1.
The following sample code ...
1
vote
2
answers
154
views
Help with the visualization of a function
I am trying to make the plot of an specific function through integration from others, but Wolfram-Alpha and Desmos are having problems with it, so I came here to see if someone could help me using ...
2
votes
3
answers
219
views
How to draw a toroidal graph?
Following MichaelE2's advice, I completely revised my question. The original form of my question follows for the sake of contributed answers.
I have a following toroidal graph
...
0
votes
1
answer
99
views
Estimation of particle displacement in meters from consecutive images
I have two images (img1,img2) in which the particles have moved. I obtained their displacements from the ImageDisplacements command, but I don't know how to ...
0
votes
0
answers
27
views
How to combine a Plot3D object and a Graphics3D object without having Mathematica recalculate the Box?
As the title says, I would like to combine a Plot3D object with a Graphics3D object. However, it seems that ...
0
votes
0
answers
37
views
I'm trying to visualize a table of numbers in square grids. Square numbers specifically
I've generated a table of the first 30 square numbers in Mathematica.
I want each number in the table to generate it's own image. For example, the second number in the list is 4, so I'd like to ...
0
votes
0
answers
35
views
Square3D Graphics Object
I wonder why there is no generalization of objects like Rectangle to Graphics3D included in the software. Does anybody know the ...
2
votes
2
answers
95
views
How to disable PlotRangeClipping in a plot for only one direction?
I have a plot whose curves leak out of the plot range if I set PlotRangeClipping -> False. But, I also need to enable it to display a unit above the frame.
A MWE ...
0
votes
0
answers
74
views
Box Scans in a Cartoon Warehouse
I used to be a package handler and was very slow at first. Part of the job was to find the appropriate barcode and then scan it.
I sped up a lot after realizing that if I grab opposite corners, then ...
0
votes
0
answers
33
views
How can one Include ChartLegends in the BarChart Graphic Output (PDF)?
In following the example for a stacked bar chart, I am able to produce the graphic that I want. However, when I attempt to print the graphic as a PDF file, I find the ChartLegends are not included in ...
2
votes
0
answers
66
views
How to create a timeline branching graphics as shown in "Loki" one of the MCU TV programmes
How to create a timeline image as shared below
4
votes
2
answers
355
views
How to create arrowheads in this curve in Mathematica
I am using this code in Mathematica:
...
1
vote
1
answer
123
views
Projection a image onto a 3d plot [duplicate]
The follow example created by software grasshopper3d, I cann't reproduce it using ColorFunction or Image3DProjection or other way.
Limited to my ability, I can only provide very little useful ...
3
votes
1
answer
84
views
How to Implement Progressive Cell Coloring in a General Mesh or Tiling?
Here are some examples of what I am talking about using Voronoi for simplicity:
Given:
That can be colored depending on which cell is randomly chosen:
I feel like there would be a better name for ...
2
votes
1
answer
104
views
No color when using Directive (or list) in ColorFunction in 14.0 on Linux
Bug introduced in 14.0 and fixed in 14.1
Switching to Version 14.0 (Linux), I noticed that Directive behaves unexpectedly when used inside ColorFunction for 3D ...
15
votes
3
answers
1k
views
Edna Andrade's Black Dragon: Winding Around Control Points
Edna Andrade
Edna Andrade (1917-2008) is now recognized as an early leader in the Op Art movement. She lived and worked in Philadelphia for the majority of her career after first moving to the city ...
11
votes
1
answer
360
views
Reproducing Ruth Vollmer's acrylic Steiner surface
I recently discovered a very beautiful Steiner surface which is owned by the Whitney Museum of American Art in New York City. It was created in 1970 by Ruth Landshoff Vollmer (1903 - 1982), a German-...
0
votes
3
answers
93
views
How to plot this data set, ignoring the initial oscillation?
Suppose I have an array given as:
...
10
votes
3
answers
385
views
Recreating Louise Bourgeois' Insomnia Spirals (Fugue #12)
Louise Bourgeois
Louise Bourgeois (1911 - 2010) was a French-American artist. Although
she is best known for her large-scale sculptures, she was also a
prolific painter and drawer.
"The spiral ...
0
votes
3
answers
120
views
All composite numbers are crossed by the lines
I'm trying a version of the code with the concavity of the parabola upwards (y=x^2), but I'm not succeeding. I appreciate any help.
...
4
votes
4
answers
225
views
Lines of intersections in a parabola
To test the parabolic sieve, my intention was for the graph to show the coordinates of two points on the parabola and the value of the intersection on the y-axis. A table with this information would ...
6
votes
1
answer
228
views
Adding shadows to spiric sections of a torus
While adding shadows to the spiric sections of a torus using the The answer to the question given by Daniel Huber, I faced a problem.
Instead of being well separated as previously, the sections ...
0
votes
1
answer
137
views
0
votes
1
answer
66
views
Graphic options stop working when displaying multiple contourplots
I want to show multiple contourplots next to each other as shown in the following picture:
I tried the following code:
...
1
vote
0
answers
71
views
Straightening out rumpled striped bedsheets
I was motivated to investigate this from an seeing a Greg's Hurst answer for a different question. I was curious how to find out what the sheet would look like when flattened with proper size and all ...
2
votes
0
answers
40
views
Position Graphics using FigInset in SciDraw
I would like to position Graphics into FigurePanel of SciDraw using real coordinates. It ...
7
votes
2
answers
384
views
How to find stationary points graphically?
I have the following Mathematica code:
...
7
votes
1
answer
689
views
Ray tracing working in Mac, but not on Windows
Here is a working Mathematica code for a 3d plot:
...
1
vote
0
answers
46
views
How to get using Kirchoff diffraction integral formula
I am unsure about the results, but is it possible to generate diffraction pattern like following in the second picture. The following equation is like this added in the first picture for different ...
1
vote
0
answers
63
views
Define polygon using CrossingPolygon or WindingPolygon
Is it possible to define polygon using CrossingPolygon or WindingPolygon so that the result is like the first image (without red ...
20
votes
4
answers
2k
views
Reproducing Ómar Rayo's "Fresh Fog" Painting
Ómar Rayo
Ómar Rayo (1928 - 2010) was a Colombian painter best known for his
op-art paintings. He completed his first drawing studies at an
academy in Buenos Aires. In 1960 he received a Guggenheim ...