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.
5,002 questions
0 votes
0 answers
27 views
Truncated AxesLabel in `GraphicsGrid`
In this very simple example (Mathematica v12.2 ) GraphicsRow[{Plot[Sin[x], {x, 0, 2 Pi}], Plot[Cos[x], {x, 0, 2 Pi}]}, ImageSize -> 250 ] the ...
1 vote
0 answers
50 views
How to control thickness of meshline in SphericalPlot3D
How can I make the mesh line more thin, Most thin line I got with AbsoluteThickness[1] reducing the vlaue more has no effect on thickness. I am using MMA12.3 on ...
3 votes
1 answer
91 views
How to prevent GraphicsRow from compressing individual graphs?
I have graphs created with Graph that display OK when shown individually, but when I put them in GraphicsRow, they get ...
7 votes
3 answers
540 views
How can I correctly render hidden lines in a 3D graphic as dashed lines and visible lines as solid lines?
When working on 3D plots, I’d like to implement a feature where visible edges are drawn as solid lines and obscured (hidden) edges are drawn as dashed lines. I haven’t found a good solution to this ...
0 votes
1 answer
108 views
HowTo vertically center node labels in Graph output
Version: "14.3.0 for Linux x86 (64-bit) (July 8, 2025)" The code listed below using the data following it produces the result shown in the image. I want the node labels positioned directly ...
1 vote
2 answers
370 views
Creating a spiral
This is both a math question and a Mathematica question. I am trying to draw a simple spiral, and found this diagram that fits what I am trying to create. Implementing the math, using Mathematica, I'...
1 vote
3 answers
432 views
How to change the color of the individual squares on a chessboard?
The code I have written to create a chessboard is as follows: ...
4 votes
1 answer
194 views
Blurry AxisObject
I am trying to imitate default frame of ContourPlot with AxisObject. I used AbsoluteOptions ...
1 vote
0 answers
70 views
How to simply change filled-in marker with empty circles in the given code?
I use this code p1 = Graphics[{PointSize[0.05], Red, Point[{{4, 0}, {7, 0}}]}]; p2 = Plot[Sin[x], {x, 0, 10}, PlotRange -> {-2, 2}]; Show[{p1, p2}] which gives ...
1 vote
1 answer
101 views
How to make a Framed PlotLabel span the exact width of the plot Frame?
I am trying to add a title with a background color to my plot. Currently, using Framed inside PlotLabel only creates a box around the text itself. I want the background box of the title to: Span the ...
4 votes
1 answer
158 views
Cut a thick arc (sector of annulus)
I have a thick arc (or it can be represented as sector of annulus), just a very simple example: ...
2 votes
3 answers
202 views
Styling collection of polygons in single Polygon differently [closed]
In documentation of Polygon we can read: Polygon[{poly_1,poly_2,…}] represents a collection of polygons poly_i. But then there is no example how to style each ...
0 votes
1 answer
84 views
ParametricNDSolveValue Doesn't Work
I am plotting particle trajectory using ParametricNDSolveValue, but it gives error. Any help is highly appreciated. ...
4 votes
0 answers
188 views
Make graphics units exactly 1 cm in exported PNG/PDF to match LaTeX TikZ picture coordinates
Bug introduced in 14.3 or earlier. Question has been amended — see below How can I make a plot, such as from the following, so that the spacing of the points x = 1, 2, 3 on the x-axis and y = 1, 2, 3,...
1 vote
1 answer
113 views
How to make edges of a graph longer in 13.3, so that long edge labels are always readable?
In Mathematica 13.3, is there a robust way to force longer edges so that long edge labels are always readable and not clipped/overlapped? As far as I could see, options for edge spacing in "...