Graph showing sleep data

Hi!
I have a task that would be easy to accomplish if I were to use a pen and paper, but still seems hard to accomplish in Numbers. I want to create a graph/diagram showing on the Y-axis: time of the day when (A) I went to bed, and (B) I woke up; and on the X-axis: date of that day. I have created a mockup chart showing how I (roughly) want my data to appear. Number's linear chart doesn't seem to accept "time/date" as a value for the Y-axis, so to plot this I had to use a graph diagram (which isn't really accurate):
The data I have is arranged in a three column table as following: [Date; Time lights out; Time out of bed (next morning)]
The reason the above chart isn't accurate is because I have entered all data as occuring on the same date (+1 if after midnight). If I hadn't, the Y-axis would just increase and increase for each night. And that's my problem: The time-data I want to enter shouldn't be date-specific on the Y-axis, only on the X-axis. Since this is part of a sleep-journal program, I will be making new entries each day (not all at once).
So, my question is: How do I avoid Numbers enterpreting these as consecutive dates and achive the chart I'm looking for?
Thank you,
Sebastian

I didn't look closely enough at your chart. Aside from the 24 hr problem, you cannot make a chart where the Y axis has a larger number on the bottom than on the top. You will hve to create your Y axis value labels manually.  Also, to get below "0:00", the chart cannot be plotting Date & Time values because there is no such thing as negative time.
I consider "sleep time" to be the ending of the day. From that viewpoint, it appears for each date you are entering the previous day's sleep time and the current day's wake time. The vertical distance between the two on the chart therefore indicates the amount of time you slept. I moved my columns around accordingly.
As explained above, I had to use durations like Jerry did.  Columns B, C, F, and G are formatted as durations.
You don't necessarily have to create three new columns. You really only need the one that adjusts the sleep time. But I find it much easier and less error prone and it often takes fewer steps to create charts when the data is all together. You can do it either way.
column E = A
column F = B- DURATION(,,IF(B>C,24,0))
column G = C
Make the scatter chart then do the following:
You need to set the Y-axis min and max, you cannot let them be "auto".  For the chart in the sceenshot, the max is 16h and the min is -4h and there are 5 steps.
Resize the chart to whatever size you want it to be.
The Y axis of the chart is actually a table. A plain table, one column. Type in the same Y axis labels that the chart made except for the lowest one which, in this case was a -4:00 and needed to be 20:00.
Turn off the chart's Y axis labels and position and resize the table to be the Y-axis labels.
Turn off the table borders and set the fill color to none.

Similar Messages

  • Time Series Graph Show Inappropriate Data for Continuous Analysis

    Hi All,
    I have marked Month as the Chronological Key in my BMM Layer but still I am unable to view the data correctly in my Time Series graph because it shows Inappropriate Data for Continuous Analysis at the time of creating the Graph. Can anybody help me out with the same.
    Thanks

    What data type is your key? The chronological key is required for the time series formulas (ago etc.).
    The time series chart requires a date or datetime data type to work - perhaps a new column with the first of the month/period would help? Regards,
    Robret

  • Xy graph in GUI. Show string data related to a X,Y point

    It is possible to show string data, while hovering the mouse or clicking a cursor, attached/related to a X,Y point in a XY graph??
    Kind regards

    I assume you want to let the x-y-value pair hover over the graph at mouse position.Perhaps this will help you:
    http://forums.ni.com/t5/LabVIEW/Text-overlay-annotation-onto-an-intensity-graph/m-p/883438/highlight...
    Another option might be just to use the cursor functionalities of XY graphs, although they don't hover at mouse position.
    Other than that I had a similar request on Image Displays with IMAQ (Vision Development Module) where it turned out that using a simple string control from the classic palette that you move around according to mouse position is an efficient way to let information hover wherever you want. Check it out:
    http://forums.ni.com/t5/LabVIEW/Why-do-overlays-take-so-much-longer-on-single-precision/m-p/2376338#...

  • How to show the data in table format when user click the Graph

    Hi,
    I have a graph in my report. If user click the graph is there a way to show
    the data behind it?
    Thanks.
    Regards,
    Jun

    Hi All,
    Any idea how to do this?
    Thanks.
    Jun

  • To show the data from BI query in bar graph with thousand separator

    Hello Experts,
       I am using Visual composer 7.0.I have designed an application where i have user BI query to show data as a bar graph.I have roundoff the data to 2 places of decimal an i have to show the data with thosand separator as well.
    i am using the formula
    NVAL(NSTR(@Actual_value,"C.2"))
    Where @Actual_value is a value which comes from BI queryand is to be displayed as a bar graph.
    Points will be awarded for reply.
    Thanks ,
    Rakesh

    Hi Rakesh,
    I have found some links which may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/38/2d9b732beb4c68bba2962602a7d6bd/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/26/64fb472a144a0dbaf88f5ec75d9270/content.htm
    http://oregonstate.edu/dept/computing/warehouse/PDF/8-reports.pdf

  • How do you show the data in Illustrator Graphs

    How can I show the data in my graphs? I input the data and it creates the bar graph but doesn't show the actual numbers used to create the bars. I have to put them in manually. Anyone know?

    Sorry but I am just not seeing how to get the data used to plot the graph to show without manually putting in the numbers after it creates the graph. Help details not very helpful. I can show the Value Axis info, the Category Axis info, and legend info but not the numbers used to plot the bars.

  • EXCEL GRAPHS SHOWING DATA FOR SAP

    ANYBODY KNOW ANY FUNCTION CALL TO EXCEL GRAPHS SHOWING DATA FOR SAP

    Hi,
    Please don't use all Caps in Subject and Body Text too
    Please have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Best Regards,
    Faisal

  • Stock app (builtin) - no way to update graphs (they show old data)

    Even if I exit and enter again form the app, switch graph View (from 1day to 1month) some graphs always shows OLD data (even a month or so).. even if it seems it download data from the network..
    It doesn't happens with ALL the stock quotes.. and it doesn't happen with the %, Price or Capit... it only happens with the graphs..
    Tried also to reset the iPhone.. problem still there..
    Any idea? Any way to "clear cache"/"force reload data" for graphs??
    Thanks

    There isn't a way,  I suppose Apple have never considered users might use it the way you are. Or more likely they don't think you should.

  • XML publisher with graph not refresh date

    Hi
    I use EBS r12, and i create report using XML and BI Publisher rtf file, this report include graph, the problem is when i add the graph according to xml data and run the report throw bi publisher desktop its work fine, but when i run it in concurrent it will show table data OK but graph data will not change according to XML data,
    Any suggestion?

    Hi,
    Please refer note:
    BI Publisher Graphing On A Unix Platform Not Handling XML Data [ID 1189413.1]
    Best Regards

  • Itunes showing all data as other and sync button greyed out

    Itunes showing all data as other and sync button greyed out.  I have downloaded and installed Itunes 11 (multiple times) and restored my phone twice already, but I am still not able to sync my Iphone 4 with Itunes.
    When I select / de-select Apps on Itunes to remove from the phone the "Apply" button does appear, but after I click it nothing happens.  Then the greyed out "sync" button just appears again.
    Anyone with some advise please?

    Try Restarting or Resetting your touch.
    Restart: Hold the Sleep/Wake button until the red slider appears and turn off your iPod. Press the sleep/wake button and hold it until you see the Apple icon.
    Reset: Hold the Sleep/Wake button and the Home button at the same time. The red slider will appear first, keep hold everything until you see the Apple icon. Release the buttons.
    Check your iPod and see if your music and apps have reappeared. If they do after either option, then resync your iPod.
    If neither works, then Restore your touch through iTunes.

  • Create button to clear/reset graph's displayed data

    Hello,
    I'm new here and working with labview. I've searched the forum but didn't found a answer that could help me (or at least I think thank)
    I'm working on a project to acquire process an ECG signal with a DAQ. In the front panel, I'm trying to display 2 graphs, one showing part of the data in real time and the other showing all the data acquired until that momment. I wanted to add a button to this second graph that, when the user wanted, cleared the data shown in the graph but immediatly continued to show the data.
    (trying to make myself clearer)
    "show all data acquired --> press button X --> cleans graph display --> show all data acquired"
    if anyone could help I would be very thankfull!
    Thank you very much,
    FM
    Solved!
    Go to Solution.

    Hi FM,
    when you use a chart you have to clear it's history (using a property node).
    When you use a graph instead you have to clear the array that builds the plot(s)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I create graph showing savings over time?

    Hey there, I'm trying to create a graph showing savings over time. I only have data for random months (they aren't spread apart evenly) So this chart isn't showing an accurate slope of savings over time. I tried entering months in between the months I have recorded and just leaving the savings amount blank but that deletes the curved slope on the graph. Is there a way and can show only these 7 recorded numbers but have them spread out on the graph to reflect the accurate time?
    Thanks,
    Caleb

    The only way I can see of "stretching" the x-axis into a regular timeline would be to add extra rows for some of the intervening dates and then averaging the both the dates and the amounts from the row above and the row below:
    You can then hide the rows that contain the averaged amounts.
    When you create the chart you'll need to tick the "Hidden data" button under Chart Options:
    After you've created the chart, you can edit the dates on the x-axis to remove any unwanted labels.
    Hope this helps.
    H

  • XY Graph shows phantom dots when zoomed

    I'm plotting a large data set versus time in an XY graph.  When I zoom in, the plot shows the data, plotted in lines, but also shows a large number of phantom dots.  When setting the plot to "lines & markers" the phantom dots disappear.  See attached jpg.
    Has anyone seen this / have a solution?
    Attachments:
    XYGraph_Phantom_Dots.JPG ‏111 KB

    It seems to me to be either a bug with graphs or a redraw issue (OS bound and not exactly LabVIEW issue). I haven't seen it myself though. Is it possible to replicate the issue with a smaller VI and an array constant for the values? If so then that would be really helpful to post so we can debug.
    Here (attached) is a VI I created to try and find the bug but was unable to. This doesn't mean that this issue is only on your machine but just means that we need to dig a little deeper to figure out what causes it. I created it in LabVIEW 2012 but saved this back to 8.0 so you could take a look at it.
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    XYGraph_Zoom_test.vi ‏10 KB

  • HANA Studio "Memory Overview" shows No Data

    Hi,
    In HANA Studio I am attempting to view the graphs in "Memory Overview" and "Resource Utilization".  When trying to view each one it only shows "No Data" as seen in the image below.  My HANA DB is 1.0 SP07.
    I have activated the statisticsserver setting to "true" under the nameserver.ini configuration.  My user also has the required authorizations.
    What else am I missing?  Any help would be greatly appreciated.  Thanks!

    After applying patch 72 for SP07, the memory overview is now showing data.

  • Plot graph with .txt data

    Hi. I am doing on a project which i need to plot the graph of the data in text format.These data are data of solar reading.
    I am able to plot the graph for Int_ana text file but unable to plot the graph for int_sma textfile. I also want to show the 2 graphs
    of Ana and Sma sperarately.Please help me!
    Attachments:
    NgKuanJie_103115x.vi ‏21 KB
    int_sma_120204.txt ‏51 KB
    int_ana_120204.txt ‏11 KB

    Hi.
    Try this mod.
    Saludos.
    Alipio.
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    NgKuanJie_103115x_A.vi ‏22 KB

Maybe you are looking for

  • How do I install a Dell 3000cn on my macbook air?

    I just bought my first Apple. Love it! How do I install the proper drivers to run my Dell 300cn color laser printer? Dell doesn't have a Mac driver for it. When I try to print, it throws out pages of characters.

  • How to create Search Help for a field in Table control !!

    Hello Friends,               I like to know - How to create Search Help for a field in Table control. Is it possible, if it is please share ur knowledge, I wud be happy if U provide some source code example for this. Thanks, Senthil

  • Integrating Apache Http Server with Streaming Server

    Hi, How to integrate my Apache Http Server with a Darwin Streaming Server or any server? Any links are really appreciated. Thanks.

  • To find which user has clicked on which link in capmaign mail

    When a campaign is executed we send a mail to the BPu2019s.now I have couple of link in that mail formu2026.I want to know which person has clicked on a what hyperlinku2026for e.g. I have two link one for sending to yahoo and other for my site addres

  • Backup and Logical Corruption

    Hello, I am running a backup and checking for any logical corruption - RMAN> backup check logical database; Starting backup at 03-MAR-10 allocated channel: ORA_SBT_TAPE_1 channel ORA_SBT_TAPE_1: SID=135 device type=SBT_TAPE channel ORA_SBT_TAPE_1: Da