Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Show only chosen objects' topicStudent Support Forum > General > "Show only chosen objects"

Next Comment >Help | Reply To Topic
Author Comment/Response
Mkok
11/03/12 07:51am

Hi,

I need some help.

I have 3 graphical objects. (2 are Graphics3D, 1 is ContourPlot3D), and I need to Show only those objects, which are marked as True in Manipulate.

Kinda like this:
Show[
If[object1,graphicsobject1],
If[object2,graphicsobject2],
If[object3,graphicsobject3],
]

Basically, I want to hide objects I don't want to be rendered at the moment.

I know this can be done using 7 If functions, but this would be quite long, and I need to keep it as short as possible. Is there any way to make this shorter?

URL: ,

Subject (listing for 'Show only chosen objects')
Author Date Posted
Show only chosen objects Mkok 11/03/12 07:51am
Re: Show only chosen objects Bill Simpson 11/06/12 7:15pm
Next Comment >Help | Reply To Topic