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,994 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
56
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
0
answers
50
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
152
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
192
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
82
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
183
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
108
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 "...
4
votes
1
answer
161
views
Find all cases of shortest curve on 3D surface
There are cases when there exist several different shortest curves with exactly the same length.
Do you have a better idea than mine which is adding obstacles to first found curve so that algorithm is ...
2
votes
2
answers
181
views
How to plot a very large bracket but keep it thin in Graphics?
Text[Style["}", 230, FontWeight -> "Thin"], {0, 0}] in Graphics gives me a large bracket, but it is toooo thick. How can I get a thin bracket ...
Harry's user avatar
- 2,819
3
votes
1
answer
140
views
Automatic tooltips of ContourPlot are miraculously fast and selective in Show
How is this possible that tooltips of Show (inherited from ContourPlot) are that perfectly selective that they are displayed ...
3
votes
3
answers
823
views
Drawing a matrix of billiard balls
I would like Mathematica to produce for me a matrix $M,ドル where the entry $M_{ij}$ is a coloured disk with a black numeral in it, representing a billiard ball.
Basically, I want a simplified example ...
1
vote
0
answers
83
views
Manually programming parula colormap for family of curves [duplicate]
In an attempt to graphically present my research, I wish to plot families of curves in the xy plane. The curves depend on a parameter, p, that ranges from 0 to some positive constant, k. I want to ...
3
votes
3
answers
243
views
Versatile way to show points array
I often work with point processes and need simple graphical representation of points.
Processes are investigated in all three dimensions, so arrays of points look like that:
...
4
votes
1
answer
197
views
Texture applied with ugly artifacts
High quality texture image was produced from matrix mat of dimension 640x640.
When the texture is applied to a polygon (square) ...
6
votes
2
answers
375
views
Manual manipulation of graphs
I have just discovered that it is possible to manipulate vertices or edges of graphs if they are converted to Graphics.
After manipulation you can extract position ...