Help with Graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg6817] Help with Graphics
- From: "Dr. Sergio Terrazas" <sterraza at campus.cdj.itesm.mx>
- Date: Mon, 21 Apr 1997 02:02:47 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello Mathgroup : I need some help with the following. I am trying to illustrate the concept of triple integrals, so I want to generate a 3-Dimensional grid of n x n x n (empty) boxes at first, and then, if the center point of a box is inside the region of integration,then show those boxes filled (using Cuboid[]). I spent about 6 hours yesterday trying just to generate the grid, without success. I can generate the points of the grid with Table[]. Given that table I was able to generate the lines in the x direction for all the y and z values, but failed misserably to get the rest of the lines. I am pretty sure that I can do it inefficiently with a bunch of Do's but I am looking for an efficient way to accomplish this. If anybody would take the time to think about this, I will be very grateful. Thanks, Sergio Terrazas Juarez, Mexico