This is related to 1.
I use the following code:
arrowAxes[{axesLength1_, axesLength2_, axesLength3_},
arrowcolor_: Black] := {arrowcolor, Arrowheads[.05],
Map[Arrow[Tube[{{0, 0, 0}, #}, 0.3]] &, {axesLength1 + 0.5,
axesLength2 + 0.6, axesLength3 + 0.7} IdentityMatrix[3]]}
labelAxes[{axesLength1_, axesLength2_, axesLength3_}, {o1_String: "x",
o2_String: "y", o3_String: "z"},
col_: Black] := {col, {Text[
Style[o1, 20, Italic], {axesLength1 + 0.5, 0, -0.4}],
Text[Style[o2, 20, Italic], {0, axesLength2 + 1, -0.4}],
Text[Style[o3, 20, Italic], {0.1, 0.5, axesLength3 + 0.6}]}}
ellipsoidXYZ[{a_, b_, c_}, opac1_: 0.6] := {Specularity[White, 10],
Blue, EdgeForm[], Opacity[opac1], Ellipsoid[{0, 0, 0}, {a, b, c}]}
axes1 = Graphics3D[{arrowAxes[{75, 75, 75}],
labelAxes[{80, 80, 80}, {"1", "2", "3"}]}, ImageSize -> Large];
g1 = {Graphics3D[ellipsoidXYZ[{50, 1, 50}]], axes1};
viewpoint = 1.2 {1, 1, 1};
Show[g1, Lighting -> {{"Point", White,
viewpoint + {0, 0, 2}}, {"Ambient", RGBColor[0.15, 0.15, 0.15]}},
Boxed -> False, ViewPoint -> viewpoint]
to create
I want to crop the white space surrounding the figure.
I use
Rasterize[
Show[g1, Lighting -> {{"Point", White,
viewpoint + {0, 0, 2}}, {"Ambient", RGBColor[0.15, 0.15, 0.15]}},
Boxed -> False, ViewPoint -> viewpoint, ImagePadding -> None,
Method -> {"ShrinkWrap" -> True}], ImageResolution -> 300]
but the labels dissapear.
Also with
ImageCrop[
Rasterize[
Show[g1, Lighting -> {{"Point", White,
viewpoint + {0, 0, 2}}, {"Ambient",
RGBColor[0.15, 0.15, 0.15]}}, Boxed -> False,
ViewPoint -> viewpoint], ImageResolution -> 300]]
the quality of the figure is not the same.
In[143]:= $Version
Out[143]= "10.3.0 for Linux x86 (64-bit) (October 9, 2015)"



ImageSizefor the rasterized version? Might be the quickest fix... – Yves Klett Dec 01 '15 at 18:11