Mathematica Manipulating a Surface and Color Contours

  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Color Surface
AI Thread Summary
The discussion focuses on an issue with Mathematica where color contours of a surface do not appear when using the video playback feature in a Manipulate function. The user notes that while stepping through values with a slider allows for immediate surface changes, the contour lines lag slightly, taking time to render. Despite experimenting with various parameters, the user has not found a solution to display the contours before transitioning to the next value of t. The need for a more efficient rendering of contours during video playback is emphasized.
member 428835
Hi PF!

I'm trying to have color contours of a surface and then manipulate the surface. Using the sample code below, we see that if you step forward Mathematica plots the surface and then also the color contours. However, rather than stepping forward, if we play the video the color contours don't show. Any help would be amazing!

Manipulate[
Show[ParametricPlot3D[{2 s t z, 3 s t, s^2}, {s, -1, 1}, {z, 0, 1},
PlotStyle -> {{Blue, Lighting -> "Neutral", Specularity[Blue, 0.3],
Opacity[0.9]}},
MeshStyle -> {{Yellow, Thick}, {Yellow, Thick}}]], {t, 0, 1}]
 
Last edited by a moderator:
Physics news on Phys.org
It seems that the contour lines take some time to appear: if you move the slider, you will see the surface change immediately, but it takes a fraction of a second for the contour to be drawn when you stop. I played around with a few parameters, but unfortunately, I couldn't find a way to have the contour be displayed before it changes to the next value of t.
 

Similar threads

Replies
1
Views
2K
Replies
4
Views
3K
Replies
2
Views
3K
Replies
7
Views
4K
Replies
3
Views
11K
Replies
1
Views
3K
Replies
1
Views
3K
Replies
1
Views
3K
Replies
4
Views
3K
Replies
19
Views
4K
Back
Top