+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: xy charts??

  1. #1
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    xy charts??

    Trying to figure out how to graph / chart a relationship between one dependent and two independent variables. The tutorials I have found all address the opposite. I suspect the answer will be contained in xy scatter charts. But do I use two / dual axes as I once did with line charts?? If so I can't work out how to do this, how to set out the data and where to find the dual axes option button.

    Tks for assistance!

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,770

    Re: xy charts??

    That would be a surface chart, and Excel has very limited capabilities for them.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: xy charts??

    I can visualize a simple surface (= 2 dimensional?) chart with independent variables on the x and y axes respectively and the dependent values graphed against each. As I said I've a feeling that x y charts do this, with or without dual axes, but I can't quite figure out how to do it. Trial and error?
    Last edited by teylyn; 04-02-2010 at 09:37 PM. Reason: removed spurious quote

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,770

    Re: xy charts??

    I have a feeling that no x-y charts do this. You need need three independent axes.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: xy charts??

    If you wanted to chart (for example) the second hand values of a model of a car against the age and the mileage as displayed in various used car adverts, I can't see why Excel cannot do this (without resorting to 3 axes - I can't think in 3 dimensions!). There are only two independent variables to go on 2 independent axes. I thought this was what x y charts were designed to do.
    Last edited by teylyn; 04-02-2010 at 09:37 PM. Reason: removed spurious quote

  6. #6
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,770

    Re: xy charts??

    Maybe. Draw one by hand, scan it and post it.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: xy charts??

    for xyz points you can try this
    http://www.andypope.info/charts/3drotate.htm
    Cheers
    Andy
    www.andypope.info

  8. #8
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: xy charts??

    Tks - the contents look really interesting even if I don't believe that for my simple purposes it's necessary to go to 3 dimensions let alone rotate them! I just need to get the hang of using standard xy charts properly and I suspect that somewhere within what you've sent will be the answer. Weekend's work ahead ..
    Last edited by teylyn; 04-02-2010 at 09:37 PM. Reason: removed spurious quote

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: xy charts??

    Probably for you example of the car you need

    X axis milage
    Y axis age
    Data label text is the car and cost

    Use this free addin to link data labels to cells.
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Cheers
    Andy
    www.andypope.info

  10. #10
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: xy charts??

    Great minds think alike. This is what I had in mind to progress to if and when I succeed in getting the 2-dimensional basics to work using what you sent previously (incl. how to lay out the raw data so that the chart picks it up properly)
    Last edited by teylyn; 04-02-2010 at 09:38 PM. Reason: removed spurious quote

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: xy charts??

    for 5 pairs of value I would layout like this.

    A2:A6 contains X values
    B2:B6 contains Y values
    B1 contains text to label series

    Select A1:B6 and create a single series XY scatter.
    Cheers
    Andy
    www.andypope.info

  12. #12
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: xy charts??

    Tks for realtime response! I'll have to experiment with this because in my case there is no direct correlation between the values in A2:A6 and B2:B6 as would be implied (both are "independent"). May be the xy graph function can accomodate this somehow. I have got my raw data set out in 2-D matrix form but haven't yet tried to "scatter" graph it.
    Last edited by teylyn; 04-02-2010 at 09:38 PM. Reason: removed spurious quote

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: xy charts??

    You will need to alter the layout of your data.
    Creating a 2 column list where each Row value is repeated for the unique Col value.
    Cheers
    Andy
    www.andypope.info

  14. #14
    Registered User
    Join Date
    04-01-2010
    Location
    Chester-le-Street, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: xy charts??

    Sorry you've lost me there. I have attached an imaginary simple example of what I am trying to chart. May be you could show me what you mean using this.
    Attached Files Attached Files
    Last edited by teylyn; 04-02-2010 at 09:38 PM. Reason: removed spurious quote

  15. #15
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: xy charts??

    This uses the index formula with a few IF tests to suppress empty matrix cells for outputting point or label.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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.2.0