Draw arc in scatter graph from arc radius & arc length

Charmwah

Board Regular
Joined
Jan 23, 2017
Messages
64
Afternoon all...

...I'm trying to use the scatter graph to draw out the extent of an arc, for which I know the radius and the length of the arc itself. These are the only two 'knowns' I have, but from these I can of course work backwards to understand the length of the arc in degrees etc. What I'm struggling with is a way to populate a table of Cartesian X,Y coordinates from which I can then plot the arc perfectly in the graph without it sloughing off as below (it should form a perfect arc, not :

1618572278007.png


Any and all help gladly recieved!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
With the condition the arc starts on Y axis and go clockwise no more than 90 degree. You may want to define an interval degree of 5-15, sort the coordinates, and finally adjust the axis range and size. The rest is math.

Cell Formulas
RangeFormula
C2C2=PI()/1.5
C6:C25C6=SQRT($C$1^2-B6^2)
B7:B25B7=MIN($C$1*SIN(ROWS(B$6:B6)*$C$3*PI()/180),SIN($C$2/$C$1)*$C$1)


1618576793014.png
 
Upvote 0
Thanks Habtest, but that doesn't work with my variables of an arc radius of 5.7m & an arc length of 1.19m (or 12°)...

1618577884998.png

With the condition the arc starts on Y axis and go clockwise no more than 90 degree. You may want to define an interval degree of 5-15, sort the coordinates, and finally adjust the axis range and size. The rest is math.

Cell Formulas
RangeFormula
C2C2=PI()/1.5
C6:C25C6=SQRT($C$1^2-B6^2)
B7:B25B7=MIN($C$1*SIN(ROWS(B$6:B6)*$C$3*PI()/180),SIN($C$2/$C$1)*$C$1)


View attachment 36843
 
Upvote 0
Its the axis sizes that are the problem here isn't it? Thats whats skewing the arc. So how do I set those to ensure the arc is always perfect, as it should be from the maths?
 
Upvote 0
Thanks Habtest, but that doesn't work with my variables of an arc radius of 5.7m & an arc length of 1.19m (or 12°)...

View attachment 36844
Yes. Could be slightly different depending on your excel version (would be good to update that part in your account profile), try right each axis figure area, and edit axis bound accordingly as below (both 0~Radius or a little more).

1618719516775.png

Yes
 
Upvote 0
But is there a way to do this automatically? From a bit of Googling it looks like its a case of manual resizing the axis each time, since both X & Y need different values in order to make the grid 'square' as opposed to skewed to rectangular as is the default...
Yes. Could be slightly different depending on your excel version (would be good to update that part in your account profile), try right each axis figure area, and edit axis bound accordingly as below (both 0~Radius or a little more).

View attachment 36927
Yes
 
Upvote 0
Maybe automating the sizing via VBA, though not any I know of.
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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