Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## [PyX-user] Pascal's limacon

 [PyX-user] Pascal's limacon From: andrea valle - 2006-08-28 09:52:45 ```Hi to all, I have to generate a figure of a limacon: http://mathworld.wolfram.com/Limacon.html First, my math knowledge is really approximate... Then, I guess I need polar coordinates. mmmhhh, no way here... Of course, I can google for it but I prefer to use PyX Some ideas? many thanks Andrea Valle DAMS - Facolt=E0 di Scienze della Formazione Universit=E0 degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@...= ```

 [PyX-user] Pascal's limacon From: andrea valle - 2006-08-28 09:52:45 ```Hi to all, I have to generate a figure of a limacon: http://mathworld.wolfram.com/Limacon.html First, my math knowledge is really approximate... Then, I guess I need polar coordinates. mmmhhh, no way here... Of course, I can google for it but I prefer to use PyX Some ideas? many thanks Andrea Valle DAMS - Facolt=E0 di Scienze della Formazione Universit=E0 degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@...= ```
 Re: [PyX-user] Pascal's limacon From: Michael J Gruber - 2006-08-28 10:08:51 ```andrea valle venit, vidit, dixit 2006-08-28 11:51: > Hi to all, >=20 > I have to generate a figure of a limacon: > http://mathworld.wolfram.com/Limacon.html >=20 > First, my math knowledge is really approximate... > Then, I guess I need polar coordinates. > mmmhhh, no way here... >=20 > Of course, I can google for it but I prefer to use PyX >=20 > Some ideas? Of course I could provide you with the complete code, but I guess pointing you at http://pyx.sourceforge.net/examples/graphs/lissajous.html will teach you more. Can't help it, being a dad and a teacher ;) You may want to call your parameter t (for theta) instead of k, and keep in mind that x=3Dr*cos(t) and y=3Dr*sin(t) for polar coordinates, where r=3Db+a*cos(t) for the Lima=E7on. Remember to read the full description of the example above, especially regarding the issue of "context" if you want to specify a and b as parameters. Cheers, Michael ```
 Re: [PyX-user] Pascal's limacon From: andrea valle - 2006-08-28 11:45:44 ```Such a nice lima=E7on with opportune substitutions :-) > http://pyx.sourceforge.net/examples/graphs/lissajous.html > I in fact took a look before, but needed the other lines... Thanks -a- Andrea Valle DAMS - Facolt=E0 di Scienze della Formazione Universit=E0 degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@... ```