New answers tagged graphics
7
votes
Finding the height and width of a plot?
You can use the ResourceFunction GraphicsInformation to obtain this information:
...
4
votes
Finding the height and width of a plot?
I think the question is about ImageSize and not PlotRange. One way to get the "current" size
...
5
votes
Adding a second legend to Plot?
You can use a list of multiple legends as the option setting for PlotLegends:
...
4
votes
Accepted
Making a plot half the width and height of another plot?
Is there a simple way to make another plot whose frame is is half the
width and height of plot P1?
I do not know if I understood the question correctly. If not, will delete this. But how about using ...
4
votes
Finding the height and width of a plot?
I can suggest another simple solution:
plot = Plot[x^2, {x, 0, 100}]
Association[Options[plot]][PlotRange]
(* {{0, 100}, {0., 10000.}} *)
5
votes
Finding the height and width of a plot?
Finding the height and width of a plot?
I think you are looking for something like the Wolfram Function Repository (WFR) function
GraphicsBounds.
It seems that ...
2
votes
Accepted
Finding the height and width of a plot?
This is an interesting question and I do not think there is a general answer to your request. A simple answer might be to set the ImageSize option. This sets the ...
4
votes
Accepted
5
votes
Accepted
10
votes
6
votes
How can I generate a Swiss-Cheese type region and render it transparent?
One way:
Show[BoundaryDiscretizeRegion[cheese, MaxCellMeasure -> 0.001]] /.
FaceForm[Directive[d__]] :> FaceForm[Directive[d, Opacity[0.5]]]
Another way:
<...
6
votes
Accepted
5
votes
Accepted
1
vote
How to quickly find all grid cells covered by a geometric region?
A method based on RegionDilation introduced in v12.3:
...
4
votes
Accepted
Making text larger without changing size of superscript?
You can style each element of the Subsuperscript independently:
...
1
vote
3
votes
Accepted
2
votes
Overlaying lattice graph and evaluation over lattice
I would create a Plot3D of your function surface, combine it with a Graphics3D of the Points ...
3
votes
Accepted
PlotRangeClipping is not working correctly with ListLinePlot?
You have discovered another buggy case for PlotRangeClipping which wasn't fixed in version 13.0.1. It is worth to know that this bug isn't present in version 8.0.4, ...
0
votes
Different colors for Thread in ListPlot
There are multiple ways to archive this but one (using Mathematicas automatic coloring and marker styles) is to use just a single ListPlot command to plot all the ...
4
votes
Accepted
A simple way to make one stream line in StreamPlot thicker, or change its color?
First, find the curve {x[t],y[t]}:
...
1
vote
Style Does Not Work in ListLinePlot
In my opinion, it is not possible in a ListLinePlot. The only solution is with "Epilog"
Regards,....Jos
ListLinePlot[{{2.1, 2.9, 2.8, 1.9}, {2.2, 2.7, 1.1, 2.2}, {2.3, 1.7,
2.3, 1.7}}, ...
3
votes
Strange behaviour in GeometricTransformation
It must be a bug. If we replace normal from {1, 0, -1} to {1, 0, -1} // N,it work.Here we ...
8
votes
8
votes
Accepted
5
votes
Animating battlefield data map of war in Ukraine
Here is a link to a mp4 video (400 pixel width without fade transition due to memory limit in the the free basic Wolfram Cloud)
1. Fetching
The idea is to search all the ukraine-project pages for the ...
0
votes
How to check if points lie within a circle
You have a circle and a set of points
disk = Graphics[Disk[{0, 0}, 2]];
pts = RandomReal[{-3, 3}, {10, 2}]
ptsplot = Graphics[{PointSize[Large], Red, Point[pts]}];
...
5
votes
Accepted
How to check if points lie within a circle
You can pick points within a tolerance with Disk, that is a circular region including its inside. MemberQ generates a function ...
4
votes
Accepted
I need to create a series of polygons from a list of lists that form a stair step shape
While others offer more compact code, here I favour strategies to keep a clean kernel, using scoping like Block to avoid leaving lingering definitions and which ...
1
vote
I need to create a series of polygons from a list of lists that form a stair step shape
cols = ColorData[97][#] & /@ Range[10]
polys = Table[Rectangle[{i, 0}, {1 + i, 10 - i}], {i, 0, 9}]
Graphics[{
Transpose[{cols, polys}]
}]
The color list ...
Top 50 recent answers are included
Related Tags
graphics × 4264plotting × 1656
graphics3d × 348
export × 230
graphs-and-networks × 201
color × 198
manipulate × 170
geometry × 152
animation × 143
dynamic × 130
image-processing × 128
bugs × 124
visualization × 114
legending × 110
regions × 108
list-manipulation × 106
labeling × 102
image × 98
front-end × 69
pdf-format × 66
functions × 64
mesh × 63
charts × 62
generative-art × 61
text × 60