help plot x and y in polar coordinate plane C#
hi! i need help in plotting a list of x and y points in a polar coordinate plane. i am using a Windows Form and zedgraph. pls help. thank u very much!!!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
hamil cookPosted Nov 4, 2013, 5:20 AM
Mike GoldPosted Mar 16, 2010, 2:13 AM
if ( x == 0 && y == 0)
theta = 0
r = Math.Sqrt(x*x + y*y);
theta = Math.ASin(y/r)
if (x < 0)
(need to adjust angle for when x < 0)
theta = -Math.ASin(y/r) + Math.Pi