+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    08-19-2008
    Location
    sadasd
    Posts
    6

    making y(x) dependence

    I have two series of numbers & I want to make a graph, illustrating the dependence of the 2nd serie on the 1st one. But Diagram Master always makes the 2 independent graphs on a diagram instead of the combined one. I can put the 1st serie as signature, but that is not the thing i want. Changing signature doesn't change dependence.
    Exel, which I have is a part of the licence 2007 MsOffice pack.

    If anyone help, I'll be very greatful.
    Last edited by szk; 08-19-2008 at 08:11 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    Are you trying to create a xy-scatter chart?

    Can you post example workbook and let us know which version of excel you are using.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-19-2008
    Location
    sadasd
    Posts
    6
    Yes, need y(x).

    y --------- x
    16 285--- 35 574
    8 278---- 19 289
    3 124---- 11 011
    981------ 7 887
    696------ 6 906
    611------ 6 210
    527------ 5 498
    452------ 4 971

    Exel version 2007, Microsoft Office Exel. Files format xlsx.

    & dont you know, is it possible here to set the dependence directly by a formula? like y=(sin(x))^2?

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    Excel expects the columns to be X and then Y values.

    See attached.

    The simplest way to create the required Y values is with a formula.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    08-19-2008
    Location
    sadasd
    Posts
    6
    big thanks, i see.

    but what is with the 1st question?
    i have 8 (x;y) dots:
    (35 574;16 285)
    (19 289;8 278)
    (11 011;3 124)
    (7 887;981)
    .....

    how to illustrate them & to make a diagram?
    is it possible to calculate(approximate) this data to a formula in excel?
    Last edited by szk; 08-19-2008 at 08:35 AM.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    Ah, those spaces where gaps between values rather than missing decimal places.

    You would need to create the chart based on 1 set of data and then use
    Chart Tools > Design > Data > Select Data
    to add another series.

    The attached contained formula in column D to calculate Y values.
    Cheers
    Andy
    www.andypope.info

  7. #7
    Registered User
    Join Date
    08-19-2008
    Location
    sadasd
    Posts
    6

    Smile

    if i will do like you are saying, i will get <attached>
    i dont need this. i need an y(x) dependence. i need a line through 8 dots which i have.

    and about formula, i need not sinx^2. i need excel to calculate the approximate formula y(x), using the data which i have (8 dots). the formula, which i dont even know yet. as i know, earlier versions of excel were able to solve it. hope the newest one is not the worst one
    Attached Files Attached Files
    Last edited by szk; 08-19-2008 at 09:02 AM.

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    Sorry, I'm confused now.

    Your example has Y values in first column and X values in second.

    But the chart has 2 series where the X values are not related to any cells. Instead a simply sequential value of 1 to 8 is applied.
    The Y values for the first line come from column 1
    The Y values for the second line come from column 2

    See Stephen Bullen's ChtFrmla.zip example, for a way of plotting a formula.
    http://www.oaltd.co.uk/Excel/Default.htm
    Cheers
    Andy
    www.andypope.info

  9. #9
    Registered User
    Join Date
    08-19-2008
    Location
    sadasd
    Posts
    6
    the problem is that i dont know how to relate the data in exel

    thx for ChtFrmla, but that all coud be done with hands. i hoped to find a fitted in excel approximation

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    do you want excel to determine a formula for those x and y value? If so see LINEST formula

    If not then sorry but I don't understand what you want
    Cheers
    Andy
    www.andypope.info

  11. #11
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,132
    Are you thinking of a Trendline? Right-click the plotted series and select Trendline.

  12. #12
    Registered User
    Join Date
    08-19-2008
    Location
    sadasd
    Posts
    6
    Thanks, but not exactly ) I need a straight formula, calculated by Excel.

    For example:

    1.
    I have 4 (x;y) dots.
    (1;1,12) (2;1,90) (3;2,72) (4;4,42)
    If you drow these dots, you will get a liner relation.
    I want Excel to calculate this formula(probably will be like y=2*x) plus calculation error. Smth like a mean-square deflection/dispersion.

    2.
    or you have 5 (x;y) dots
    (0,5;0,22) (1;1,09) (2;3,7) (3;10) (4;15,2)
    If you will drow these dots, you will see that the relation(x;y) is a polynomial, with the 2nd power. You set these settings, Excel again gives you a formula. Now it will be like y=x^2. Ofcourse with all errors.

    Is it possible in Excel now?

    Hope now the subject is clear. )
    Last edited by szk; 09-30-2008 at 03:45 AM.

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    You need to look at the LINEST formula.

    You should be able to find previous threads on the subject
    Cheers
    Andy
    www.andypope.info

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Making Tab Sizes smaller or creating multiple rows of tabs.
    By kingbiscuit in forum Excel General
    Replies: 4
    Last Post: 03-05-2008, 04:44 PM
  2. Making a cell reference itself
    By dsykes in forum Excel General
    Replies: 1
    Last Post: 12-21-2007, 03:00 PM
  3. Requiring Save As without making file read only
    By redstang423 in forum Excel General
    Replies: 5
    Last Post: 04-07-2007, 12:02 PM

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