Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there.

data = ExampleData[{"Geometry3D", "StanfordBunny"}, "VertexData"];
ListSurfacePlot3D[data, MaxPlotPoints -> 50, Mesh -> 30, Axes -> None,
  MeshFunctions -> (#1 - #2 + #3 &), MeshShading -> {None, Yellow}]

What happens is that, first of all the vertex data from Stanford Bunny is read and stored in data, but then running ListSurfacePlot3D returns no output (I was expecting a graphic object as shown in documentation). In fact after running the line with ListSurfacePlot3D I see that data is cleared from workspace (it doesn't contain any data, in fact it is not even defined anymore - changing color from black to blue).

It seems that MeshShading is causing this problem, so the following works:

data = ExampleData[{"Geometry3D", "StanfordBunny"}, "VertexData"];
ListSurfacePlot3D[data, MaxPlotPoints -> 50, Mesh -> 30, Axes -> None,
  MeshFunctions -> (#1 - #2 + #3 &)]

enter image description here

I face the same problem when trying other examples from documentation; ListSurfacePlot3D/Options/MeshShading

So, is this a bug or am I missing something?

I am using OS X 10.8.4 64 bit, and Mathematica version 9.0 for Mac OS X x86 (64-bit) (January 24, 2013).

share|improve this question
2  
Here on OSX 10.8.4 and M9.0.1 the kernel crashes with this example from the doc. I think it is OK to tag this bugs even without confirmation of Wolfram. I reported it. –  halirutan Aug 5 '13 at 14:28
    
here's a bit of a workaround ListSurfacePlot3D[data,MaxPlotPoints->50,Mesh->30,Axes->None,MeshFunctions->(#1‌​-#2+#3&),MeshShading->{Opacity[0,White],Yellow} ] –  chuy Aug 5 '13 at 15:53
    
Works perfectly fine under Win 8 and MMA 9.0.1, will check later my Ubuntu version too. –  Sektor Aug 5 '13 at 15:56
    
Works fine in Win 8 v9.0.1 –  RunnyKine Aug 5 '13 at 16:49
    
Works fine with the same OS and Mathematica 8 –  gpap Aug 5 '13 at 16:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.