+ Reply to Thread
Results 1 to 6 of 6

Adding correlating names to the legend on a scatter plot (Mac)

  1. #1
    Registered User
    Join Date
    09-06-2018
    Location
    Los Angeles, California
    MS-Off Ver
    2016
    Posts
    6

    Adding correlating names to the legend on a scatter plot (Mac)

    Hey guys,

    I have a simple data chart where I'm plotting points based on two factors. I have 7 rows and want to reflect the name of each point on the legend. However, I can't find anywhere that helps me add the individual names to my legend. Please help thanks.

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

    Re: Adding correlating names to the legend on a scatter plot (Mac)

    Excel's legends are not very flexible. The legend can only display the series name. If you have added each point as its own data series and the appropriate name in the series definition, then your legend should automatically show the name for each data series/point. With only 7 points, this will be tedious, but not prohibitive. If you have a lot of individual points, eventually it will become too much.

    If you have added the points as a single series, Excel's legend will not be able to show the names for the individual points.

    Do you have to use the legend for this? It should be fairly straight forward to add data labels for each point and have the name of each point show up in those data labels. One way or another, the ideas that come immediately to mind for adding all points as one series and also showing the name associated with each point involve something using data labels rather than the legend. I'm not sure what all you are required to do and not allowed to do, so I don't have specific suggestions. If you are allowed to use data labels, I would start by reviewing how to add data labels and see if that works: https://support.office.com/en-us/art...2-f467c9f4eb2d
    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
    11-30-2023
    Location
    Wexford, Ireland
    MS-Off Ver
    365
    Posts
    2

    Re: Adding correlating names to the legend on a scatter plot (Mac)

    Hello, there is a small trick to be able to add a legend with labels. First, add each point as its own data series and the appropriate name in the series. Then, add a series with all data points. In the Select Data window, move the series containing all data points to the bottom to edit/analyze the data (e.g. add trend line). Move this series to the top to hide these points behind the individual data series. Each point from the individual data series should appear with a different color automatically in the graph and the legend as in the example below.

    Attachment 851086
    Last edited by javiervila; 11-30-2023 at 07:28 AM. Reason: To correct error in the text.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,704

    Re: Adding correlating names to the legend on a scatter plot (Mac)

    The thread is five years old, but thank you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    11-30-2023
    Location
    Wexford, Ireland
    MS-Off Ver
    365
    Posts
    2

    Re: Adding correlating names to the legend on a scatter plot (Mac)

    I thought it might be useful for other people too.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,704

    Re: Adding correlating names to the legend on a scatter plot (Mac)

    That's why I thanked you, but I didn't want you to expect a response from the OP, who hasn't been here since 2018.

+ 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. Adding data labels to a scatter plot
    By mykasd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2016, 11:24 AM
  2. Adding marker to scatter plot that is the value of a cell
    By mm671750 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2014, 04:06 AM
  3. [SOLVED] Scatter Plot, with legend?
    By dpsersimon in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-02-2013, 09:33 PM
  4. Legend to follow scatter plot colors
    By skorpan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2011, 10:09 AM
  5. scatter plot colors/legend
    By liquidspaces in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-25-2008, 08:10 PM
  6. Replies: 3
    Last Post: 12-12-2006, 07:27 PM
  7. Add names to scatter plot chart
    By oberon.black in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-29-2005, 02:05 PM

Tags for this Thread

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