+ Reply to Thread
Results 1 to 11 of 11

How do I add the time dimension in a XY scatter or bubble plot?

  1. #1
    Registered User
    Join Date
    05-19-2013
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    How do I add the time dimension in a XY scatter or bubble plot?

    Dear all,

    I am trying to plot the combination of "b" and "c" series as a time trend.... Using the option of XY scatter or bubble plot, I assign the x and y values in each point. But I can never get them in time sequence because they end up appearing according to the values. I tried to activate the secondary x axis option, but it is not somehow available. Any ideas please?? Im using Excel 2007. Thanking you in advance...

    Time b c
    2008 278,08 341,96
    2009 271,26 331,43
    2010 278,89 343,85
    2011 302,17 357,87
    2012 305,11 305,98
    2013 311,39 307,36
    2014 319,71 309,94
    2015 329,31 314,49
    2016 339,69 315,49
    2017 350,56 317,05
    Last edited by kyr; 05-19-2013 at 07:57 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    Do you mean you want 2 sets of plots in the xyscatter? where Time is plotted on the x axis and b and c on the Y.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    05-19-2013
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    No....actually Im thinking one plot over time....

    Where the only series is plotted as a combination of "b" and "c" values on the x and y axis respectively...(Edit Series-->Series X VALUES & Y VALUES) and then having "time" on a z or secondary horizontal axis....

    I am thinking kind of a "wave" plot in 3D,....but I just want to bring it in 2D (like plotting one series over time)....

    If I didnt make myself clear again...maybe I should make a drawing???

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    It would probably help clarify if you posted workbook with data and rough sketch, using shapes, of what you want.

  5. #5
    Registered User
    Join Date
    05-19-2013
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    Dear Andy, thank you for keep going with me....

    Ok then....so since I have 3 data series, I try the 3D approach...I guess it is clear by now that I am trying to plot
    the combined effect of two different variables of the same time-series...

    So, using/applying your work on 3D-Rotation which I found online, I definitely need Time sequence on my x-COORD (B2:B11,
    and then my other two variables in y and z-coord(C2:D11).So in the end of the day, when I have L12:14=0, I can see in 2 dimensions one position (the combination of y and z-coord) against time (x-coord). This is why I was thinking of a secondary axis at first..

    Trying to play with your 3D-sheet (which is the closest I could find to describe what I have in mind), I cannot plot my data, because of different scaling....If I understand correct, in your sheet you set min=-1 and max=1, I changed that to min=0 and max= ??? (400???), as you can see my values on y/z-coord are going up to that value, and they are already normalized.

    and then again, values of x-coord are years varying from 1980-2020, would it be possible in such 3D plot to have different scales of numbers?? because when I tried to change the axis and cage dimensions, everything got really messy....

    I hope I made it clearer now......
    Attached Files Attached Files
    Last edited by kyr; 05-20-2013 at 08:45 AM.

  6. #6
    Registered User
    Join Date
    05-19-2013
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    p.s. Initially I was thinking of something like the plot I am attaching, only instead of having series (A and B) plotted
    separately against time, I need to have their combined position/ effect against time...

    Thank you!
    Attached Files Attached Files

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    I have adjusted the scales and values for the 3d plot. Not sure it's useful.

    Also there is a bubble chart where the size is the second of the 2 values.
    Attached Files Attached Files

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    When you say 'combined' to you mean added together,

    i.e. 278.0760145 + 341.96

    If so simply use a helper column to add the values.

  9. #9
    Registered User
    Join Date
    05-19-2013
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    Wowww Andy!!! That looks really nice!!!! Thank you so much!!!

    By "combined" I mean that in 2D each one point/dot/bubble represents two values e.g. A(xi,yi),where A represents the year 2008 (series name) for instance, so A (x2008, y2008).

    But since I also need to plot the time dimension (otherwise points do not appear in time sequence, but according to their values, I think I am going to work something out with your 3D-adjustment.

    Just one last question please, considering that I am going to add extra values in the data series (which I guess it won't be a problem), would it be possible to break the 3D cage in smaller parts/cages and divide x-coord per decade lets say,or if it easier to fill it up with a grid?

    Thank you again very much!!!!

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    To alter the cage or add extra lines you need to create the xyz values, converts those to 2d values using formula similar to existing formula and then add new series to chart.

  11. #11
    Registered User
    Join Date
    05-19-2013
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How do I add the time dimension in a XY scatter or bubble plot?

    Thank you so much Andy!! (sorry for my delayed response...)

    I will try your suggestion!!!

+ 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