Re: Filling problem in Plot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg87397] Re: Filling problem in Plot3D
- From: dh <dh at metrohm.ch>
- Date: Wed, 9 Apr 2008 05:57:27 -0400 (EDT)
- References: <ftfeb3$bn7$1@smc.vnet.net>
Hi Istavan,
in my experience Filling for 3 D is either pretty bad described or
pretty buggy (or both to say it nice). If you want to display regions
between surfaces, you are better off with RegionPlot. Here an example:
RegionPlot3D[0.3<z<0.7x || 0.3>z>0.7x ,{x,0,1},{y,0,1},{z,0,1}]
hope this helps, Daniel
zac wrote:
> Dear group,
>
> consider the following 3D graphic in v6, with two surfaces:
>
> Plot3D[{.3, .7}, {x, 0, 1}, {y, 0, 1},
> BoxRatios -> 1,
> Mesh -> False,
> PlotStyle -> RGBColor[0, 1, 0, .5],
> PlotRange -> {{0, 1}, {0, 1}, {0, 1}},
> FillingStyle -> {RGBColor[1, 0, 0, .5]},
> Filling -> {1 -> {2}}
> ]
>
> There should be some filling between the two surfaces, but no filling
> is displayed at all.
> Of course I can fill with Filling -> {1 -> .7}, but what if the target
> surface is not planar?
> Any suggestions?
>
> Version: 6.0 for Microsoft Windows (32-bit)
>
> Istvan Zachar
>