+ Reply to Thread
Results 1 to 5 of 5

How to make GRAPH with linear x axis

  1. #1
    Registered User
    Join Date
    01-25-2011
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question How to make GRAPH with linear x axis

    I am measuring certain value at random points (hours) during each day.
    Data table is simple:
    Hour Value
    0:34 7
    3:45 10
    10:24 13
    16:56 19
    19:24 7
    22:30 9

    So data is taken at random interval, what I want to acomplish is
    graph with x axis division from 0:00 - 24:00 and values then put in at correct hour tickmark

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to make GRAPH with linear x axis

    Hi,

    One way would be to add a 00:00 Hour and a 23:59 Hour with nil values as two additional 'plots'.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-25-2011
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to make GRAPH with linear x axis

    This would solve just first and last point, but still inside of the GRAPH I do not have x axis by hours from 00:00, 01:00 .... 24:00, so 24 tickmarks on X axis, and results distributed among them as they are collected in random hours

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to make GRAPH with linear x axis

    Plot the data as a XY Scatter chart, not a line chart.

    Set the X axis minimum to 0, maximum to 1 and major unit to 0.041666667 (which is one hour) or multiples thereof.

    cheers

  5. #5
    Registered User
    Join Date
    01-25-2011
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to make GRAPH with linear x axis

    Yes, thanks, ... that is it!

+ 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