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.

I'm building an Animate where I have a 3D plot with some of its parameters changing:

Animate[SphericalPlot3D[Sin[(3/z)*x], x, y, PlotStyle -> Opacity[0.7]], {z, 1, 5}]

Whilst it is running through the changes though, the entire plot goes very low-res. How can I ensure that the resolution stays high throughout the animation, and not just when it stops running?

share|improve this question
    
First try to go to Edit/Preferences/Appearance/Graphics and set the Slider to "Highest Quality" in case it changes anything :) –  Öskå Apr 11 at 12:16

1 Answer 1

up vote 2 down vote accepted

Also fix BoxRatios, PlotRange...

1-way: PerformanceGoal -> "Quality":

Animate[SphericalPlot3D[Sin[(3/z)*x], x, y, PlotStyle -> Opacity[0.7],
   PerformanceGoal -> "Quality", BoxRatios -> 1, PlotRange -> 1], {z, 
  1, 5}]

2-way: specify explicitly options that set the quality:

Animate[SphericalPlot3D[Sin[(3/z)*x], x, y, PlotStyle -> Opacity[0.7],
   BoxRatios -> 1, PlotRange -> 1, PlotPoints -> 30, Mesh -> 10], {z, 
  1, 5}]
share|improve this answer
    
Excellent, thank you very much –  Aron Apr 11 at 12:32

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.