Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: ListContourPlot3D bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102333] Re: [mg102285] ListContourPlot3D bug?
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Thu, 6 Aug 2009 06:28:54 -0400 (EDT)
  • References: <200908040827.EAA26802@smc.vnet.net>

Hi,

No, I think you just recognized the *feature* of table.
Does

Table[{x, y}, {x, 0, 5}, {y, 0, 5}]

really give what you expect?

Cheers
Patrick



On Tue, 2009-08-04 at 04:27 -0400, markus wrote:
> Hi,
> 
> I think I've found a bug in the ListContourPlot3D function (Mathematica 7.01):
> the following command should give a cylinder along the z-axis:
> 
> ListContourPlot3D[
>  Table[x^2 + y^2, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}],
>  Contours -> {0.1}, Mesh -> None, AxesLabel -> {x, y, z}]
> 
> However, the cylinder is aligned along the x-axis, which is not
> correct.
> 
> The command
> 
> ContourPlot3D[x^2 + y^2, {x, -1, 1}, {y, -1, 1}, {z, -1, 1},
>  Contours -> {0.1}, Mesh -> None, AxesLabel -> {x, y, z}]
> 
> gives the correct output.
> Of course, for a single plot like above, the solution would be just to
> exchange the axes label. But this becomes awkward when you, for
> example, want to combine multiple plots (via Show).
> 
> -Markus
> 



  • Prev by Date: Re: Manipulate
  • Next by Date: Re: Manipulate
  • Previous by thread: ListContourPlot3D bug?
  • Next by thread: Re: ListContourPlot3D bug?