+ Reply to Thread
Results 1 to 4 of 4

Creating a "Compass" Chart

  1. #1
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Creating a "Compass" Chart

    I am given direction in this format:

    N
    NNE
    NE
    SNE
    E
    NSE
    SE
    SSE
    S
    SSW
    SW
    SNW
    W
    SNW
    NW
    NNW

    What I would like to do is display these as a single arrow within a compass dial. So I would most likely have to convert them to a number first. Once I have converted these I am then going to embed them on top of another chart - though I think I can do that bit myself!
    See attached sheet, Thank You in advance for any help.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Creating a "Compass" Chart

    Yes, you would need to convert them to a number. In your spreadsheet, you "convert" the text bearings to angles (in degrees), but Excel can't really work with "polar coordinates" (r, t) where r is the radius/distance from center and t is the angle. So you need to convert them from polar coordinates to rectangular coordinates (something you would have learned in algebra/trig). If you put something like "convert polar and rectangular coordinates" into your favorite internet search engine, you should get several tutorials.

    I put this spreadsheet together to illustrate trig ratios on the unit circle. Post #3 includes an example using the "compass bearing" convention where 0 is North (along the y axis) and angle increase in a CW direction. You should be able to see how I plotted an arrow on the chart for a specified angle by converting to rectangular coordinates and plotting those on the chart (along with a bunch of other stuff to make the circles and angles look nice). https://www.excelforum.com/tips-and-...ml#post4309792

    One thing to remember -- Excel, like all other programming languages -- performs trig calculations in radians. If you want your angles in degrees, you will need to convert between degrees and radians so the calculations will be correct (see the DEGREES() and RADIANS() functions).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Creating a "Compass" Chart

    I have attempted this without success. Anyone else out there got something I could follow more easily?

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Creating a "Compass" Chart

    You don't provide much detail about what you tried and what you could not do.

    As MrShorty explained you need to convert the angle/distance information into xy point using some trig formula.

    This simple example uses 2 points for each of the 16 positions in order to draw a line between center and outer edge. The gaps in the data allow for gaps in the line.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating a "difficult" or "simple" bar chart
    By NLatuny in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-24-2016, 01:20 PM
  2. Replies: 2
    Last Post: 06-25-2013, 12:43 PM
  3. [SOLVED] Problem creating Line Chart from columns "date" and "money"
    By brosef in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 11-05-2012, 09:01 AM
  4. Replies: 0
    Last Post: 09-17-2012, 01:17 PM
  5. Replies: 0
    Last Post: 06-08-2010, 03:27 PM
  6. Creating Bar Chart with "Acceptable Range"
    By sighlent1 in forum Excel General
    Replies: 4
    Last Post: 12-30-2009, 11:13 AM
  7. Replies: 4
    Last Post: 02-03-2008, 05:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1