+ Reply to Thread
Results 1 to 5 of 5

XY scatter plot graph

  1. #1
    Registered User
    Join Date
    04-12-2007
    Posts
    3

    XY scatter plot graph

    hey, im not too good on excell hence the post, btw im on 98 version

    basically i have 2 sets of data
    eg.

    HeartRate ..... Oxygen Uptake
    101 .................... 1
    102 .................... 2
    103 .................... 3

    I want to plot these points on a set of axis,
    the x-axis being HR and the y-axis being O2.
    I want the x-axis to range from 0 - 220 (with 202 being a point) in 10 increments.
    and the y-axis to range from 0-3 in 0.1 increments.

    i then want to (after setting the points from the table above on the axis) plot a linear regression line, which extends to the 202 and have dotted lines pointing to the Oxygen value.


    is this possible because i have been trying it for ageeeeees

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,396
    Make sure you are using an XY scatter plot. The format axis dialog will then allow you to set the scale parameters to the desired values.

    You can use the Chart Trendline function (Chart menu -> Add trendline) to get a trendline. For users who aren't familiar with regression in Excel, it is probably the easiest, though you will be limited to the equation forms built into the tool. I prefer to use the LINEST worksheet function to perform regressions.

    If the trendline tool won't automatically extrapolate to 202, it would be easy to do the extrapolation in a worksheet by putting the equation coefficients into worksheet cells. If you use LINEST to perform the regression, then you don't have to transfer the coefficients to worksheet cells.

  3. #3
    Registered User
    Join Date
    04-12-2007
    Posts
    3
    ignore that i have expanded the line! now basically i need to plot lines connecting an x value to a y value, i.e tracing the x value back to the linear regression line then back to the y axis value. If that makes sense
    Last edited by just t; 04-12-2007 at 04:34 PM.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,396
    If I've understood what you want, you simply add another series consisting of three points: (xmin,ycalc);(xcalc,ycalc);(xcalc,ymin)

  5. #5
    Registered User
    Join Date
    04-12-2007
    Posts
    3
    great, thanks! managed to do it now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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