I have updated jooGraphFunction so that you can now choose to plot with linear segments via the new method drop down.
Image 1: Example of linear method.
Hopefully somebody else also finds this useful. I was planning to also add a option for a 2D plot (like in this post), unfortunately changes for this are on hold. Hopefully somebody finds this small change done so far useful in their day to day work.
Image 2: Just for fun.
Here's a script to make a round Archimedian spiral which I found by googling. Perhaps you could modify it. Sadly, it's beyond my ablities to do so.
Alternatively, if 'joining the dots' is OK, create a grid with the Polar grid tool, ungroup it, and delete the horizontal, vertical and diagonal lines.
Transform a line with 72 degree rotations around the centre of the polar grid, and turn everything into guides.
Enable Smart Guides and snapping, and draw your spiral with the Pen tool, by joining up the intersections.