Search This Blog

Tuesday, January 11, 2011

package import problem in mathematica

Programmer Question

In mathematica (I am using mma 5.0 ( guess pretty old)), if I type the following as one line:



Needs["Graphics`Master`"]; Animate[Plot[Sin[n x], {x, 0, 2 Pi}, Axes -> False], {n, 1, 6, 1}]


I then got a lot of errors/warnings. But if I type them in separately, it is working fine. How to make it work in one code block?



Thanks!



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails