+ Reply to Thread
Results 1 to 8 of 8

Excel 2008 : Scaling Charts in Excel

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    United States
    MS-Off Ver
    Excel 2008
    Posts
    4

    Scaling Charts in Excel

    In my XY scatter charts I am drawing an object. However, because of Excels auto-scaling, they often come out deformed. Is there anyway that I can lock the scales, or is there anyway that I can tell the scaling to not go past a certain point (ie, If i plot a point at 10,1 and 10,-1 then the x axis doesnt go past 10, and the y stays between 1 and -1)...

    Thanks, this could ruin my project if I dont figure it out.

    Ryan

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Scaling Charts in Excel

    Hello Ryan & Welcome to the Forum,

    Without seeing your sample, did you try to manually set the axis instead of letting Excel guess at what you want?

    Right click axis >> Format axis

    If this doesn't do it, do you have a sample you can post...
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    United States
    MS-Off Ver
    Excel 2008
    Posts
    4

    Re: Scaling Charts in Excel

    Heres the project,

    Basically Im calculating the trajectory of a model rocket, the chart in question is 2D Ballistic (source data, "Details" AL13:AK130) I want the scales to be the same, so the trajectory is represented on the graph the same as it would be in real life. Obviously the scale is dependedent on the altitude and distance flown by the rocket, however those values change based on the inputs of the user on "Rocket Info".

    Im stuck lol.
    Attached Files Attached Files

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

    Re: Scaling Charts in Excel

    The auto scaling is based on your plotted data. It will normally extend the min/max values to encompass the min/max value in the data.

    If using auto scaling or fixed values is not suitable then you will need to use code to determine what you want the min/max values to be and apply those via VBA code.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    United States
    MS-Off Ver
    Excel 2008
    Posts
    4

    Re: Scaling Charts in Excel

    I have very very limited experience with vba, some experience with VB.net

    How would I go about programming these charts?

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

    Re: Scaling Charts in 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
    O365
    Posts
    20,437

    Re: Scaling Charts in Excel

    Please Login or Register  to view this content.
    I used the following formula in AL2:AM3

    AL2: =FLOOR(MIN(AL13:AL130),10)
    AM2: =FLOOR(MIN(AM13:AM130),10)
    AL3: =CEILING(MAX(AL13:AL130),10)
    AM3: =CEILING(MAX(AM13:AM130),10)

  8. #8
    Registered User
    Join Date
    06-07-2012
    Location
    United States
    MS-Off Ver
    Excel 2008
    Posts
    4

    Re: Scaling Charts in Excel

    Thanks Andy!

+ 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