Plotting a circle with coordinate in excel

trustmeasfrnd

New Member
Joined
Oct 19, 2008
Messages
32
i ve a circle with 18 nodes and i want to plot it in excel may be using chart.it can be done.
now suppose i plotted a circle of diameter 2m then i have 18 nodes equally divided on its perimeter.what if i want to reduce the circle diameter to 1.8m how to generate its coordinate any easy way to do this?
ABCD
node numberxyz

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]-1[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]-0.9397[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.342[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]-0.766[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.6428[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]103[/TD]
[TD="align: right"]-0.5[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.866[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]104[/TD]
[TD="align: right"]-0.1736[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.9848[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]105[/TD]
[TD="align: right"]0.1736[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.9848[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]106[/TD]
[TD="align: right"]0.5[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.866[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]107[/TD]
[TD="align: right"]0.766[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.6428[/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]108[/TD]
[TD="align: right"]0.9397[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]-0.342[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]109[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]110[/TD]
[TD="align: right"]0.9397[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.342[/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]111[/TD]
[TD="align: right"]0.766[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.6428[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]112[/TD]
[TD="align: right"]0.5[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.866[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]113[/TD]
[TD="align: right"]0.1736[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.9848[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]114[/TD]
[TD="align: right"]-0.1736[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.9848[/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]115[/TD]
[TD="align: right"]-0.5[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.866[/TD]

[TD="align: center"]18[/TD]
[TD="align: right"]116[/TD]
[TD="align: right"]-0.766[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.6428[/TD]

[TD="align: center"]19[/TD]
[TD="align: right"]117[/TD]
[TD="align: right"]-0.9397[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.342[/TD]

</tbody>
Sheet1

thanks and regards,
abhisekh
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi MickG,
i plotted it and it looks like circle but how to check whether it is correct or not i mean any ways to confirm that circle dia is reduced or not?
can you also tell how you come up with 0.9 value can it be generalised as formula.

thanks and regards,
abhisekh
 
Upvote 0
Not sure how helpful this is , but:-
NB:- 0.9 = 1.8/2.0

Below is the chart after size reduction i.e. Multiply "X" and "Z" by 0.9
The Actual circle size is only relative to the chart scales.
If you Plot the original data you will see, relative to the scales it has changed.

content


Modified Data series:-
NB: Extra (x-y) values added at bottom of data to complete circle !!!!
[TABLE="width: 158"]
<colgroup><col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 2986;"> <col width="126" style="width: 95pt; mso-width-source: userset; mso-width-alt: 4494;"> <tbody>[TR]
[TD="class: xl66, width: 84, bgcolor: transparent, align: right"]-0.9[/TD]
[TD="class: xl66, width: 126, bgcolor: transparent, align: right"]0[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.9[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.9[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Not sure how helpful this is , but:-
NB:- 0.9 = 1.8/2.0

Below is the chart after size reduction i.e. Multiply "X" and "Z" by 0.9
The Actual circle size is only relative to the chart scales.
If you Plot the original data you will see, relative to the scales it has changed.

content


Modified Data series:-
NB: Extra (x-y) values added at bottom of data to complete circle !!!!
[TABLE="width: 158"]
<tbody>[TR]
[TD="class: xl66, width: 84, bgcolor: transparent, align: right"]-0.9[/TD]
[TD="class: xl66, width: 126, bgcolor: transparent, align: right"]0[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.9[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.15624[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.88632[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.45[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.7794[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.6894[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.57852[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.84573[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0.3078[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]-0.9[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]

thank you,
I checked it by plotting both in same chart which shows that diameter is changed and then i also calculated it for each points by calculating dia using extreme points which is basis for plotting circle (x1-x2)^2+(y1-y2)^2 = Dia^2.

perfect. how do you attache chart here? i m curious may be i don't know have to dig more.
thank you again
regards
 
Last edited:
Upvote 0
You're welcome

Paste chart:-
There's probably better ways but, I assign the code below to the chart:-
Code:
Sub Chart1_Click()
Const strPath As String = "C:\Users\USER1\Desktop\cam.gif"
ActiveSheet.ChartObjects(Application.Caller).Chart.Export strPath
End Sub
This creates a file on the desktop , then I upload it to Box.com, where I open it, copy it and then paste back into Forum Page.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top