Re: "If" tests inside call to Graphics3D
- To: mathgroup at smc.vnet.net
- Subject: [mg86333] Re: "If" tests inside call to Graphics3D
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 8 Mar 2008 05:45:10 -0500 (EST)
- References: <fqqs1l$kdk$1@smc.vnet.net>
Hi, Manipulate[ Plot[Sin[x], {x, 0, 2 Pi}, Evaluate[ Sequence @@ If[boxedQ, {Frame -> True}, {}]] ], {{boxedQ, False, "Frame"}, {True, False}}] ?? Regards Jens Steve Gray wrote: > I want to make Boxed->, Axes->, AxesLabel->, and a bunch of individual > display items conditioned on various flags inside my call to > Graphics3D. When I do this, for example, with: > > If[boxflg==1, options or items 1, options or items 2] > > in my call, it says "An improperly formatted option was encountered > while reading a Graphics. The option was not in the form of a rule." > > How do I do this? Thanks in advance. > > Steve Gray >