Re: polar coordinates with ggplotd

2016-09-19 Thread brocolis via Digitalmars-d-learn
On Monday, 19 September 2016 at 12:34:56 UTC, Edwin van Leeuwen wrote: On Sunday, 18 September 2016 at 22:13:35 UTC, brocolis wrote: Found an error in ys line. Thanks. Does that mean you solved it? Currently there is no special support for other coordinate systems, but I recently added

Re: polar coordinates with ggplotd

2016-09-19 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Sunday, 18 September 2016 at 22:13:35 UTC, brocolis wrote: Found an error in ys line. Thanks. Does that mean you solved it? Currently there is no special support for other coordinate systems, but I recently added Guides for x/y coordinates which should make this relatively

Re: polar coordinates with ggplotd

2016-09-18 Thread brocolis via Digitalmars-d-learn
On Sunday, 18 September 2016 at 22:07:31 UTC, brocolis wrote: I've tried this code. import ggplotd.ggplotd; import ggplotd.geom; import ggplotd.aes; import ggplotd.axes; import std.math; auto r(double theta) { return 2 * sin(6*theta); } auto getX(double theta) { return