On my MMA, I apply the options
SetOptions[$FrontEnd,
GraphicsBoxOptions -> {BaseStyle -> Magnification -> 72/120}]
Then I can assure the output Graphics
has the width specified in the ImageSize option.
For example the code
Graphics[Circle[{0, 0}, 1], ImageSize -> 140]
creates 140-pixel wide Graphics
.
To create graphics with two or three overlapping circles of the same size, I can do the following.
Graphics[{Circle[{0, 0}, 1],
Circle[{1, 0}, 1]}, ImageSize -> 210]
Graphics[{Circle[{0, 0}, 1],
Circle[{1, 0}, 1],
Circle[{2, 0}, 1]
}, ImageSize -> 280]
Notice that we had to calculated the value of ImageSize
manually, to write the code.
The calculation was not that difficult, (140 * 1/2 *3 = 210, and 140 * 1/2 * 4 = 280)
so that it was possible to do with mental arithmetic and elementary school level knowledge of geometry.
But the example above was in fact very easy. It will be difficult to calculate ImageSize
in a Graphics
where figures of various sizes and shapes mixed.
In this sense, it would be very nice if we had an (imaginary) option Pixels per Graphics Unit Length
like the one below. See the following imaginary screenshot :
Quetsion :
Is it possible to create Graphics
of any size that I want, with the way explained above? I mean using Pixels per Graphics Unit Length concept.
Graphics[{Circle[{0, 0}, 1], Circle[{1, 0}, 1], Circle[{2, 0}, 1]}, ImageSize -> 1 -> 70]
? $\endgroup$