Message Boards Message Boards

0
|
7223 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Obtain all Options[] for a graphic?

Posted 7 years ago

I have this simple graphic for which I want to list out all of the options including ViewCenter and ViewVertical. But Options[%] (after generating the graphic) only emits

{Boxed -> True, Lighting -> "Neutral"}

Why?

The generating command is:

Graphics3D[{
  EdgeForm[], Specularity[White, 10]
  , FaceForm[Red], Sphere[{-0.2, -0.1, -0.3}, .2]
  , FaceForm[Blue], Cylinder[{{0., 0.3, -0.5}, {0., 0.3, 0.}}, 0.1]
  , FaceForm[Green], Cone[{{0.2, 0., -0.5}, {0.2, 0., -0.1}}, 0.2]
  }, Boxed -> True, Lighting -> "Neutral"
 ]

Thanks in advance for your help.

POSTED BY: Aeyoss Antelope
2 Replies

Use AbsoluteOptions on your Graphics3D to see the current one if you have e.g. rotated itÂ…

POSTED BY: Sander Huisman

It seems that you need simply all the implicit options for the Graphics3D:

In[1]:= Options[Graphics3D]

Out[1]= {AlignmentPoint -> Center, AspectRatio -> Automatic, 
 AutomaticImageSize -> False, Axes -> False, AxesEdge -> Automatic, 
 AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, 
 Background -> None, BaselinePosition -> Automatic, BaseStyle -> {}, 
 Boxed -> True, BoxRatios -> Automatic, BoxStyle -> {}, 
 ClipPlanes -> None, ClipPlanesStyle -> Automatic, 
 ColorOutput -> Automatic, ContentSelectable -> Automatic, 
 ControllerLinking -> Automatic, ControllerMethod -> Automatic, 
 ControllerPath -> Automatic, CoordinatesToolOptions -> Automatic, 
 DisplayFunction :> $DisplayFunction, Epilog -> {}, FaceGrids -> None,
  FaceGridsStyle -> {}, FormatType :> TraditionalForm, 
 ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, 
 ImageSizeRaw -> Automatic, LabelStyle -> {}, Lighting -> Automatic, 
 Method -> Automatic, PlotLabel -> None, PlotRange -> All, 
 PlotRangePadding -> Automatic, PlotRegion -> Automatic, 
 PreserveImageOptions -> Automatic, Prolog -> {}, 
 RotationAction -> "Fit", SphericalRegion -> False, 
 Ticks -> Automatic, TicksStyle -> {}, TouchscreenAutoZoom -> False, 
 ViewAngle -> Automatic, ViewCenter -> Automatic, 
 ViewMatrix -> Automatic, ViewPoint -> {1.3, -2.4, 2.}, 
 ViewRange -> All, ViewVector -> Automatic, ViewVertical -> {0, 0, 1}}
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract