Re: Conditinal Plots

*To*: mathgroup at smc.vnet.net*Subject*: [mg51037] Re: Conditinal Plots*From*: philippe.morel at ezct.net (philippe)*Date*: Sat, 2 Oct 2004 03:18:21 -0400 (EDT)*References*: <opjsr38bywkq@legacy>*Sender*: owner-wri-mathgroup at wolfram.com

If you really want to trim your plot with a cylinder you can try to adapt the principle which is present in the "SurfaceColor" example in the help browser. To get the line drawn on the surface, first convert your plot to a generic graphics (Graphics[....]), then type %//InputForm. You will have the internal structure of the graphic. Then, with replacement rules, you can keep only the part you are interested in. You can try something like that. On 3 Sep 04 11:04:27 -0400 (EDT), matt wrote: >Dear all, > >Í´m trying to produce a 3D plot with a 2D ploygon (within unit circle) >as its base. Equivalently, I want my 3D surface to sit inside (be >bounded by) a cylinder with n-gon cross section. > >How can I trim off the edges? > I´ve tried to use >If[ (condition), Plot, Blah] but it doesn´t seem to work.....

**Follow-Ups**:**Re: Re: Conditinal Plots***From:*Garry Helzer <gah@math.umd.edu>