This is a follow-up question to (138886).
According to this post, the proper way to export 3D graphics as vector graphics is by inserting them into a 2D regular Graphics
as Inset
. Now I want the graphics object and its inset to fit the 3D graphics precisely. The previous question was about a lot of white space that often appears around the object. This question is:
How can I set the size of the inset to fit the entire 3D graphics without cropping?
Ideally, a solution would preserve the original 3D graphics size, because things tend to shift and scale disproportionally while rescaling
Here is the example:
plot3d = Plot3D[100,
{x, 0, 3}, {y, 0, .9},
BoxRatios -> {3, .9, .5},
ViewPoint -> {0, -Pi, 1.3},
ImageSize -> {700, 220}
]
And here is what I tried:
Framed[Graphics[Inset[Framed@plot3d]]]
Framed[Graphics[Inset[Framed@plot3d], ImageSize -> {700, 220}]]
Framed[Graphics[Inset[Framed@plot3d]],
FrameMargins -> {{50, 50}, {-70, -70}}]
Framed[Graphics[
Inset[Framed@plot3d, Automatic, Automatic, ImageScaled[1]]]]