4
$\begingroup$

Bug introduced in 10.0 or earlier and fixed in 12.0


Boxed is an Option for Graph3D, however I cannot get it to work.

Graph3D[ButterflyGraph[3], Boxed -> True] 

does not draw a box

I can set it via:

SetOptions[Graph3D, Boxed -> True];
MemberQ[Options[Graph3D], Boxed -> True] (*test*)
(* True *)

Graph3D[ButterflyGraph[3]]

But this does not work either.

$\endgroup$
  • 2
    $\begingroup$ You should probably report this to support; in the meantime, try Show[Graph3D[ButterflyGraph[3]], Boxed -> True]. $\endgroup$ – J. M. will be back soon Mar 14 at 5:55
  • $\begingroup$ @J.M. Thanks; that converts it to a Graphics3D object ... pro's and con's but it works ... $\endgroup$ – Sander Mar 14 at 6:06
  • $\begingroup$ I reported this to Wolfram $\endgroup$ – Sander Mar 14 at 6:17
3
$\begingroup$

Using "Boxed" instead of Boxed works:

Graph3D[ButterflyGraph[3], "Boxed" -> True]

enter image description here

Head @ %

Graph

$Version

"11.3.0 for Microsoft Windows (64-bit) (March 7, 2018)"

$\endgroup$
  • $\begingroup$ indeed it does ... however seems inconsistent with use of Boxed elsewere as well as other option settings for Graph3D ?? What am I missing? $\endgroup$ – Sander Mar 14 at 6:09
  • $\begingroup$ @Sander, you are right. $\endgroup$ – kglr Mar 14 at 6:10
  • $\begingroup$ and SetOptions[Graph3D, Boxed -> True] changes the defailt option setting ... $\endgroup$ – Sander Mar 14 at 6:10
  • $\begingroup$ okay, got it. Thanks! $\endgroup$ – Sander Mar 14 at 6:11
  • $\begingroup$ @Sander, thank you for the accept. You should definitely report this to Wolfram. $\endgroup$ – kglr Mar 14 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.