I add Boxed->False and wished to provide my own 3D plot box. How am I to proceede?
I’m having trouble understanding AbsoluteOptions for a graphic (see below).
I need to use PlotRange, BoxRatios, and ViewCenter in a sensible manner (reason why omitted). But for this graphic the results Mathematica shows me (using AbsoluteOptions) seem impossible to use.
Question: how can it be that PlotRange is width of .3 if Arrows are width 2? Even if I construe I must apply Boxratios first, I’m clipped by .3.
Question two: look at ViewCenter - it isn’t in the PlotRange, how can viewcenter not be in the plot?
We are not given ViewVector but I assume it’s along the default direction {1.3,-2.4,2.} at a sufficient distance to show the graphic. However that is not sufficent because though we know the shape of the box by boxratios: I cant figure the size unless I know the dimensions of every graphic plotted (which depends on viewing distance).
How am I to procede in a “generic manner” to put my own plot box around Graphic3D (obviously I would then include the fresh box in the Graphic3D as a list of things to render) ?
note CAREFULLY that the AbsoluteOptions when Text[…,{0,0,0}] are digest-able. It’s when Text is not at origin that I see Options that I do not understand the proper use of. thank you.
xx = Text["XXX\nXXX\nXXX", {0, 0, .2}, {0, 0}];
Graphics3D[{xx, Sphere[{0, 0, 0}, .15], RGBColor[.7, 0, 0],
Arrow[{{0, 0, 0}, {2, 0, 0}}, .1], RGBColor[0, .5, 0],
Arrow[{{0, 0, 0}, {0, 2, 0}}, .1], RGBColor[0, 0, .5],
Arrow[{{0, 0, 0}, {0, 0, 2}}, .1]}]
In[1168]:= AbsoluteOptions[%]
Out[1168]= {AlignmentPoint -> Center, AspectRatio -> Automatic,
AutomaticImageSize -> False, Axes -> False, AxesEdge -> Automatic,
AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {},
Background -> None, BaselinePosition -> Automatic, BaseStyle -> {},
Boxed -> True, BoxRatios -> {0.857143, 0.857143, 1.}, BoxStyle -> {},
ClipPlanes -> None, ClipPlanesStyle -> Automatic,
ColorOutput -> Automatic, ContentSelectable -> Automatic,
ControllerLinking -> Automatic, ControllerMethod -> Automatic,
ControllerPath -> Automatic, CoordinatesToolOptions -> Automatic,
DisplayFunction -> Identity, Epilog -> {}, FaceGrids -> None,
FaceGridsStyle -> {}, FormatType -> TraditionalForm,
ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic,
ImageSizeRaw -> Automatic, LabelStyle -> {}, Lighting -> Automatic,
Method -> Automatic, PlotLabel -> None,
PlotRange -> {{-0.15, 0.15}, {-0.15, 0.15}, {-0.15, 0.2}},
PlotRangePadding -> Automatic, PlotRegion -> Automatic,
PreserveImageOptions -> Automatic, Prolog -> {},
RotationAction -> "Fit", SphericalRegion -> False,
Ticks -> Automatic, TicksStyle -> {}, TouchscreenAutoZoom -> False,
ViewAngle -> Automatic, ViewCenter -> {0.5, 0.5, 0.5},
ViewMatrix -> Automatic, ViewPoint -> {1.3, -2.4, 2.},
ViewRange -> All, ViewVector -> Automatic,
ViewVertical -> {0., 0., 1.}}

