Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Really confused on making XY plots in Numbers

I'm trying to make an XY plot in numbers from two columns of data. I can't figure this out. Here is an example.


Day

Sum

1

0

8

-11

11

-14

16

-18

18

-20

23

-25

25

-25

30

-25

33

-27

34

-27

36

-29


Let's say I want to make a simple XY plot. In this example "Day" is the X coordinate of the data and "Sum" is the Y coordinate. Excel or if I did this on paper, the graph would look like this (scatter plot function)


User uploaded file


In numbers I get this


User uploaded file


or if I unselect "share X values" I get this


User uploaded file

Neither of these are right. When I try to manually edit the X or Y data values they seem locked together. I think I've played with every toggle available in numbers.


My Numbers version is 3.5.2

Mac Pro, OS X Mavericks (10.9.2), 5,1 3.33 6-core 32GB GTX680

Posted on Apr 8, 2015 4:50 AM

Reply
Question marked as Best reply

Posted on Apr 8, 2015 8:18 AM

ssls,


I'll give you the basic rule, and ask you to try with that, rather that go through all your cases.


Plotting a Scatter Chart requires paired numeric values. Neither column may be formatted as text.


You have used the default Header Column, Column A. Header columns are generally used for descriptors, text, to somehow label what follows in the row. You need to delete this Header Column before entering your data, or start your data entering in the first non-header column. Header columns default to text format, so even if what you enter there looks like a numeric value, it will be treated as text.


That should put you on the right track.


Jerry

9 replies
Question marked as Best reply

Apr 8, 2015 8:18 AM in response to ssls6

ssls,


I'll give you the basic rule, and ask you to try with that, rather that go through all your cases.


Plotting a Scatter Chart requires paired numeric values. Neither column may be formatted as text.


You have used the default Header Column, Column A. Header columns are generally used for descriptors, text, to somehow label what follows in the row. You need to delete this Header Column before entering your data, or start your data entering in the first non-header column. Header columns default to text format, so even if what you enter there looks like a numeric value, it will be treated as text.


That should put you on the right track.


Jerry

Apr 8, 2015 8:18 AM in response to ssls6

Here is how I plot XY data :

1) enter the data in a table

2) set the first row as a header row using the contextual menu for the first row

User uploaded file

now select the columns to plot. In this case select column A and B

User uploaded file


Now select the XY chart from the charts tool:

User uploaded file

While the chart is selected I used the Chart Formatter for the series to select "Straight" from the "Connection Lines" popup menu

Apr 8, 2015 8:01 AM in response to ssls6

Hi ssls,


There are two types of graphs (Charts) in Numbers 3 that require data to be in Body Cells.

User uploaded file

In the red "round rectangle" on the left is a Scatter Plot (I think you are looking for this) and on the right is a Bubble Chart (I don't think you are looking for this).

All other graphs are Category graphs (charts) that require the X data to be in a Header in a table.

Reproducing your data in a table with no Header Columns:

User uploaded file


Row 1 is a Header Row, and that is OK.

Select Columns A and B and insert a Scatter Plot.


To add the line, click on the graph and Format Panel > Series > Connection Lines > Straight

User uploaded file


Is that what you want?


Regards,

Ian.

Apr 8, 2015 9:41 AM in response to ssls6

Hi ssls,


Thanks for the green tick and your feed back.

I did not really realize a grey column is a header column.


A grey column is not always a Header Column, but is is often a clue. I guessed that your table had a Header Column from your screen shot

User uploaded file

As opposed to a table with no Headers:

User uploaded file


Table Header Rows, Footer Rows and Header Columns are mighty powerful where they are needed.


Happy Numbering!

Regards,

Ian.

Really confused on making XY plots in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.