Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / July 2004

Tip: Looking for answers? Try searching our database.

Scaling on Scatter Graph

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vince - 21 Jul 2004 19:19 GMT
My XY graph has time on the Y scale and position in inches on the X scale.  The problem I have is that the Y scale (Time) starts at 7:00 am and ends at 7: am the following day, or in other words a 24 hr period.  How can I scale the Y axis to show all the points.  Currently I have to scale it from 7:00 to 23:59, or 00:00 to 7:00 in order to look at the data.  I need to be able to display the entire 24 hour period on one graph at one time.  Your help is greatly appreciated.

Vince
Jon Peltier - 21 Jul 2004 20:40 GMT
Vince -

You can scale the axis like any other value axes. Double click on the
axis, click on the Scale tab, and enter appropriate values for min, max,
and spacing.

If your numbers are just times (not dates and times), they represent a
fraction of the day since midnight. 6:00 am is 0.25, 12:00 is 0.5, etc.
You could enter all the fractions, but Excel is happy to accept entered
times. Enter 7:00, and Excel will take it. Next time you open the
dialog, it will have been converted into 0.291667.

To get from 7 am one day to 7 am the next, you enter 7:00 as before for
the min. For the max, you need 7 plus 24, so enter 31:00. Use 2:00 or
3:00 for the major spacing.

You will have to add 1 to the data after midnight, because these times
happened on the next day. The easiest way to do this is to type a 1 in
an empty cell and copy it, select the cells to adjust, and use Paste
Special on the Edit menu to paste the values using the operation multiply.

In general it's probably preferable to enter time values as a date time.
If I have data from yesterday at 7:00 to today at 7:00, I can enter
7/20/04 7:00 for the min and 7/21/04 7:00 for the max in the axis scale
dialog, and I never have to worry about adding 1 to some of my data.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

> My XY graph has time on the Y scale and position in inches on the X
> scale.  The problem I have is that the Y scale (Time) starts at 7:00
[quoted text clipped - 6 lines]
>
> Vince
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.