Re: how draw box with open front
- To: mathgroup at smc.vnet.net
- Subject: [mg83822] Re: how draw box with open front
- From: "Steve Luttrell" <steve at _removemefirst_luttrell.org.uk>
- Date: Sat, 1 Dec 2007 05:48:41 -0500 (EST)
- References: <fior1b$d0u$1@smc.vnet.net>
There is an example in the documentation for Cuboid that is close to what
you want. Look it up under Cuboid/Scope/Cuboid Styling.
Graphics3D[{FaceForm[Yellow, Blue],
Cuboid[Scaled[{.1, -.5, .1}], Scaled[{.9, .8, .9}]]},
PlotRange -> {{-1/4, 5/4}, {1/4, 5/4}, {-1/4, 5/4}}]
Steve Luttrell
West Malvern, UK
"Murray Eisenberg" <murray at math.umass.edu> wrote in message
news:fior1b$d0u$1 at smc.vnet.net...
> In Mathematica 6, what's the best way to draw a convincing box
> (rectangular parallelepiped) with an open front?
>
> Of course I tried Cuboid, but no matter how I try to treat the faces, it
> still looks like the front is solid, too.
>
> --
> Murray Eisenberg murray at math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower phone 413 549-1020 (H)
> University of Massachusetts 413 545-2859 (W)
> 710 North Pleasant Street fax 413 545-1801
> Amherst, MA 01003-9305
>