MathGroup Archive 2009

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

Search the Archive

Re: work only with Performance->Speed


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