Link to home
Start Free TrialLog in
Avatar of Member_2_2394978
Member_2_2394978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Points from distance around in circle

Hi,

I'm a bit rusty on my maths and am not quite sure what terms i'm looking for in google etc.
I have certain distances which I would like to plot a point at the end of the distance.  I want each distance to be a radius of a circle, moving around the circumfrance.  So I have many distances and I want to be able to plot each one in a x, y coordinate system from a point (centre of circle - even though it won't be a circle because each distance/radius will be different for each new distance).  For each new distance I will move slightly further around the circle, which comes to the next bit.  I want to be able to move at different distances around the circle!  I hope this makes sense - any help greatly appreciated.  Attached an example, although the grey lines are just to show the the changing distances, I will just plot the points!

James
circularDistance.jpg
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_2394978

ASKER

thanks - I shall give these a shot!
I am afraid that I do not follow you. If you  have the x,y coords of say 30 points they will appear at the the same place on a sheet of paper whether you plot them in x,y or polar coords.
Now if you have 30 distances and want to involve a circle in some way you can start at theta = 0, and plot the first distance as r. then take 360 and divide by the number of points (getting in the case of 30 points, 12 degrees. Now advance the 0 radius by 12 degrees and plot the next distance. repeat until all 30 distances have been plotted. You will have a bunch of lines like in your drawing but each radius will be 12 degrees from the nearest one. The final drawing will look much different than the one you have.
Isn't that exactly what I said aburr ?
"Isn't that exactly what I said aburr ?
-
No, that is not exactly what you said.
but if the end result is the same. fine.
>> No, that is not exactly what you said.

Then what's different ? I can't see it ?

You said to vary the angle from 0 to 360, and pick distances for each angle. Which is what I said ...

I must be missing something, so please enlighten me - always willing to learn :)
"You said to vary the angle from 0 to 360, and pick distances for each angle"

That is not what I said. That is (a small variation of) what you said.

A variation of what I said is to "divide 360 by the number of points" and use multiples of that angle to determine the radius on which to plot the points.

I assumed (probably incorrectly but helped by his figure) that James started with the x, y coords and was having a hard time visulizing his problem.
>> A variation of what I said is to "divide 360 by the number of points" and use multiples of that angle to determine the radius on which to plot the points.

Still not sure how that's different, but oh well - let's not waste time over it ...


James_h1023, did you get it to work the way you wanted ?
I've understood the idea behind it although my programming skills are lacking, so am asking another question in appropriate section.

Thanks
James