My first post here. Hello.

What is the syntax for Python matrix transformations ? I’ve been using an “.m” file from MatLab. It makes a plot that looks like this (the “cup” in the second part of the animation) …

Here is the basic line plot used in the animation …

Line[{{0.007+0.039*Cos[a±8.800],0.067±0.004*Cos[a±8.800],0.039*Sin[a±8.800]},{0.007+0.044*Cos[a±8.400],0.076±0.004*Cos[a±8.400],0.044*Sin[a±8.400]}}]

It’s basically repeated recursively to create the shapes in the animation.

I tried using Math Viz to recreate the plot but I don’t know the correct Python syntax. The following screen shot shows some Python entries into the Math Viz add-on.

[ATTACH=CONFIG]146934[/ATTACH]

Am I barking up the right tree here ? It looks like Python should be able to reproduce what’s in the .m file.