How do I put two linear trend lines in a scatter plot with two different sets of values?

I have to set up a scatter plot for a chem lab. My scatter plot contains two different sets of data, one for pre-1982 pennies and one for post-1982 pennies. I was able to enter everything and create the scatter plot. Now I have to put linear trend lines in there but I need one for each set of data. When I want to put a linear trend line in there it creates only one for all data. Is there any way I can have two?User uploaded file

MacBook Pro (13-inch Mid 2012)

Posted on Sep 4, 2014 8:02 AM

Reply
22 replies

Sep 4, 2014 9:54 PM in response to SGIII

I did it but I still don't have two sets of data values. Is there anything else I have uncheck or something like that? I see a difference in my screenshot in that not my two masses are clicked and have that dot, like in yours, but the columns next to each other do. I tried dragging it, but that isn't possible. How do I change that?

User uploaded file

Sep 5, 2014 1:34 AM in response to l_hi

Hi l_hi,


Sometimes it is easier to delete a misbehaving plot and start again.

Click on the column label A, then shift-click on the column label D

Edit: Click on the column label B, then shift-click on the column label E

User uploaded file

Insert a scatter plot

User uploaded file


Now click on one series within the plot

User uploaded file

Pre 1982 is selected.

Follow SG's instructions to add a trend line. Repeat with the other series.


Regards,

Ian.


Edited: Column labels.

Sep 5, 2014 9:13 AM in response to l_hi

Hi I_hi,


The forums are not behaving. Screen shots often do not display. Your screen shot is not displaying 🙂.


Edit: **Delete the Scatter Plot and start again.**


Here is a screen shot of my first screen shot

User uploaded file

I hope this shows!

Click on the column label B, then shift-click on the column label E

Insert a scatter plot.

Regards,

Ian.

Edit: **Delete the Scatter Plot and start again.**

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I put two linear trend lines in a scatter plot with two different sets of values?

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