Page 1 of 1

[Solved] Plotting multiple trendlines on a graph

Posted: Tue Aug 28, 2012 1:04 am
by Jobediah
http://www.impactaging.com/papers/v3/n4 ... igure3.jpg

The link above shows what I'd like to do, but I can't figure it out. I'd like two trend lines for two groups on one graph (arm span by height for the sexes separately). This is one of my favorite analyses (ANCOVA) and my class will learn much more if I can show them their data properly labelled and organized. I can make a regular scatterplot with a single group, so I only need help making the two groups with different color points and separate lines.

Can anyone help? I'm running the latest version of OpenOffice on a new mac powerbook running 10.8.

Thanks in advance.

Re: plotting multiple trendlines on a graph

Posted: Tue Aug 28, 2012 4:35 am
by FJCC
One way to do it is to put all of the x values in a single column and the y values in two columns. See the attached file.

Re: plotting multiple trendlines on a graph

Posted: Tue Aug 28, 2012 5:04 pm
by Jobediah
Sweet, thanks FJCC! That works for me.
I knew leaving MSOffice behind was going to make my life better :)
Thanks again, I'm off to the data races...