Skip to content

Help plot x and y in polar coordinate plane C#

Judaea Arana

Asked Mar 11, 2010, 7:49 AM EST2 answers
Share
LinkedInX
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!!!

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    You probably just need to convert them.
    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
     
     
    0