MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: work only with Performance->Speed

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102817] Re: work only with Performance->Speed
  • From: wiso <gtu2003 at alice.it>
  • Date: Fri, 28 Aug 2009 00:45:06 -0400 (EDT)
  • References: <200908261145.HAA11540@smc.vnet.net> <h75na8$p25$1@smc.vnet.net>

DrMajorBob wrote:

> You have an extra comma (syntax error!), but this fails, too:
> 
> ContourPlot3D[
>   zz (-1 + 1/(xx^2 + yy^2 + zz^2)^(3/2)), {xx, -2, 2}, {yy, -2,
>    2}, {zz, -4, 4}, BoundaryStyle -> Red,
>   RegionFunction -> Function[{x, y, z}, x^2 + y^2 + z^2 >= 1],
>   PerformanceGoal -> "Quality"]
> 
> "Speed" works, but "Quality" does not. It looks like a bug to me.
> 
> Bobby
> 
> On Wed, 26 Aug 2009 06:45:01 -0500, wiso <gtu2003 at alice.it> wrote:
> 
>> This works:
>>
>> ContourPlot3D[
>>  zz (-1 + 1/(xx^2 + yy^2 + zz^2)^(3/2)), {xx, -2, 2}, {yy, -2,
>>   2}, {zz, -4, 4},
>>  BoundaryStyle -> Red,
>>  RegionFunction -> Function[{x, y, z}, x^2 + y^2 + z^2 >= 1],
>>  PerformanceGoal -> "Speed"
>>  ]
>>
>> This not:
>>
>> ContourPlot3D[
>>  zz (-1 + 1/(xx^2 + yy^2 + zz^2)^(3/2)), {xx, -2, 2}, {yy, -2,
>>   2}, {zz, -4, 4},
>>  BoundaryStyle -> Red,
>>  RegionFunction -> Function[{x, y, z}, x^2 + y^2 + z^2 >= 1],
>>  ]
>>
>> really I don't understand... (Mathematica 7)
>>
>>
> 
> 
> 

Yes, it's a bug, and this is the actual solution from wolfram support:

ContourPlot3D[
 zz (-1 + 1/(xx^2 +  y^2 +  zz^2)^(3/2)), {xx, -2, 2}, {y, -2,
  2}, {zz, -4, 4}, BoundaryStyle -> Red,
 RegionFunction -> Function[{x, y, z}, x^2 + y^2 + z^2 >= 1],
 PerformanceGoal -> "Quality", MaxRecursion->1, PlotPoints->10]




  • Prev by Date: Re: Re: InverseFunction of a CDF
  • Next by Date: Re: Re: ClearAll ?? or what
  • Previous by thread: Re: work only with Performance->Speed
  • Next by thread: Re: work only with Performance->Speed