12 votes

How can I generate a Swiss-Cheese type region and render it transparent?

...
user avatar
  • 30.5k
7 votes

Finding the height and width of a plot?

You can use the ResourceFunction GraphicsInformation to obtain this information: ...
user avatar
  • 123k
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: <...
user avatar
  • 213k
6 votes

Adding a second legend to Plot?

You can use a list of multiple legends as the option setting for PlotLegends: ...
user avatar
  • 349k
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 ...
user avatar
5 votes
Accepted

How to connect 100 random points on a ring through the shortest path?

...
user avatar
  • 14.8k
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 ...
user avatar
  • 108k
4 votes
Accepted

Adding a second legend to Plot?

...
user avatar
  • 120k
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 ...
user avatar
  • 213k
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.}} *)
user avatar
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 ...
user avatar
  • 14.7k

Only top scored, non community-wiki answers of a minimum length are eligible