+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    02-02-2007
    Posts
    34

    Cant get scatter plot to work

    Three columns of data
    first column - names of countries
    second column - credit ratings of countries eg AAA; AA; A
    third column - values

    Perhaps this isn't possible
    but I want the x Axis to be the credit ratings of countries, and the y axis to be the value. And then for each country to plot a dot which co-ordinates with its credit rating and value.

  2. #2
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2003(work), Excel 2007(home)
    Posts
    182

    Re: Cant get scatter plot to work

    I think this is what you were looking to do. If not let me know.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-02-2007
    Posts
    34

    Re: Cant get scatter plot to work

    hiya, thanks for your post.

    No not quite. I think what I do need is a scatter plot as there are two variables here. one is the credit rating, the other is the value. I want to show a relationship between the two, that a certain credit rating will give a particular value I guess.

    and next to the dot thats been plotted would be annotated the particular country.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Cant get scatter plot to work

    Create a column chart on some dummy data in order to get the credit rating category axis.

    The add a series and change that to xy-scatter.
    Set the data source for xy-scatter series to be your Credit rating/Value cells.

    Finally link data labels to cells to get country name next to marker.
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    02-02-2007
    Posts
    34

    Re: Cant get scatter plot to work

    Thanks for your chart-its exactly what I am looking for.

    I'm having trouble replicating it though. Whenever I change it do do a scatter plot, it changes the a-axis labels from AAA, AA , A to 1, 2, 3

  6. #6
    Registered User
    Join Date
    02-02-2007
    Posts
    34

    Re: Cant get scatter plot to work

    I've done that bit now but because I have more than one entry with AAA rating, the A axis is displaying AAA twice.
    Last edited by chedges; 03-17-2009 at 06:34 AM.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Cant get scatter plot to work

    can you post your workbook.

    Bear in mind to get textual labling of the X axis you need to have a combination chart of Column and XY-Scatter
    Cheers
    Andy
    www.andypope.info

  8. #8
    Registered User
    Join Date
    02-02-2007
    Posts
    34

    Re: Cant get scatter plot to work

    Sure thanks.

    I've left the column chart in as when i delete it thats when the problem occurs.

    at present though with the column chart in there, the values are corresponding to the releveant credit ratings.
    Attached Files Attached Files

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Cant get scatter plot to work

    In the first file the rating where actually values, 1 2 and 3 with custom number formats to display A AA and AAA

    Now the A's are just text and are there fore treated as categories.

    Somewhere in your workbook you need to convert the credit rating text to a X value.
    Cheers
    Andy
    www.andypope.info

  10. #10
    Registered User
    Join Date
    02-02-2007
    Posts
    34

    Re: Cant get scatter plot to work

    Sorry in my last post i meant "the values AREN'T corresponding to the releveant credit ratings"

    Ok what you say makes sense, but i've never done that before so I dont know how to covert them. Would I need to type in place of the credit ratings 1, 2, 3 etc and then custom format it? How do I convert into an X value.

    Tks

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Cant get scatter plot to work

    You need a lookup table to allocate a X value to a credit rating.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

Thread Information

Users Browsing this Thread

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

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.2.0