How to label scatterplot points by name?

后端 未结 4 1367
刺人心
刺人心 2021-02-02 07:17

I am trying to figure out how to get labels to show on either Google sheets, Excel, or Numbers.

I have information that looks like this

name|x_val|y_val
         


        
相关标签:
4条回答
  • 2021-02-02 07:29

    None of these worked for me. I'm on a mac using Microsoft 360. I found this which DID work: This workaround is for Excel 2010 and 2007, it is best for a small number of chart data points.

    Click twice on a label to select it. Click in formula bar. Type = Use your mouse to click on a cell that contains the value you want to use. The formula bar changes to perhaps =Sheet1!$D$3

    Repeat step 1 to 5 with remaining data labels.

    Simple

    0 讨论(0)
  • 2021-02-02 07:30

    Another convoluted answer which should technically work and is ok for a small number of data points is to plot all your data points as 1 series in order to get your connecting line. Then plot each point as its own series. Then format data labels to display series name for each of the individual data points.

    In short it works ok for a small data set or just key points from a data set.

    0 讨论(0)
  • 2021-02-02 07:37

    Well I did not think this was possible until I went and checked. In some previous version of Excel I could not do this. I am currently using Excel 2013.

    This is what you want to do in a scatter plot:

    1. right click on your data point

    2. select "Format Data Labels" (note you may have to add data labels first)

    3. put a check mark in "Values from Cells"
    4. click on "select range" and select your range of labels you want on the points

    UPDATE: Colouring Individual Labels

    In order to colour the labels individually use the following steps:

    1. select a label. When you first select, all labels for the series should get a box around them like the graph above.
    2. Select the individual label you are interested in editing. Only the label you have selected should have a box around it like the graph below.
    3. On the right hand side, as shown below, Select "TEXT OPTIONS".
    4. Expand the "TEXT FILL" category if required.
    5. Second from the bottom of the category list is "COLOR", select the colour you want from the pallet.

    If you have the entire series selected instead of the individual label, text formatting changes should apply to all labels instead of just one.

    0 讨论(0)
  • 2021-02-02 07:45

    For all those who don't have the option in Excel (like me), there is a macro which works and is explained here: https://www.get-digital-help.com/2015/08/03/custom-data-labels-in-x-y-scatter-chart/ Very useful

    0 讨论(0)
提交回复
热议问题