Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default time plots/charts in Excel

I am trying to plot usage time for a device we use; data is in the following
format:

A B C
Online 23:27:39 12-Oct-08
Online 23:30:54 12-Oct-08
Online 23:34:09 12-Oct-08
Online 23:37:24 12-Oct-08
Offline 23:40:37 12-Oct-08
Offline 23:43:50 12-Oct-08
Offline 23:47:03 12-Oct-08
Offline 12:00:28 13-Oct-08
Offline 12:03:41 13-Oct-08
Offline 12:06:54 13-Oct-08
Online 12:10:10 13-Oct-08
Online 12:13:26 13-Oct-08
Online 12:16:42 13-Oct-08
Online 12:19:58 13-Oct-08
Offline 12:23:11 13-Oct-08
Offline 12:26:24 13-Oct-08
Offline 12:29:37 13-Oct-08
Offline 14:51:13 13-Oct-08
Offline 14:54:26 13-Oct-08

I'm trying with no success to plot online time by day and by time windows,
on a 24 hour scale.
Help and tips will be much appreciated.
Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 120
Default time plots/charts in Excel

Leo,
Obviously the time intervals are different in the record. Therefore you have
to employ scatter (xy) chart. To prepare data for it:
(1) Be sure that values 18-Oct-80 etc. are formatted as dates, and 20:23:12
as times.
(2) Place sums in the forth column: €œ= B1 + C1€, and downwards. General
time data appear as results.
(3) Format these data range properly, creating your user format. It will be
adopted in the chart for x-axis text, and therefore must be short and
fitting. You will have to omit year and probably month, and on the other side
minutes and seconds.
(4) Link 1s for online mode, 0s for offline: in the fifth column
€œ=if(A1=€Online€,1,0)€

(5) Select correct range in columns D and E, and by means of chart wizard
choose scatter chart.
(6) Set proper time scale: do not be shocked by offered values round 36900
(these are the whole days count from the beginning of 1900, including current
day fraction), and input the whole expressions, e.i. 12-Oct-08 23:00:00 for
the beginning, and 13-Oct-08 15:00:00 for the end on x-axis. You can select
also interval on the axis e.i. 3:00:00.
(7) Select sufficiently thick line with no markers; tick off €œsmooth line€.

Petr

--
Petr Bezucha


"Leoborealis" wrote:

I am trying to plot usage time for a device we use; data is in the following
format:

A B C
Online 23:27:39 12-Oct-08
Online 23:30:54 12-Oct-08
Online 23:34:09 12-Oct-08
Online 23:37:24 12-Oct-08
Offline 23:40:37 12-Oct-08
Offline 23:43:50 12-Oct-08
Offline 23:47:03 12-Oct-08
Offline 12:00:28 13-Oct-08
Offline 12:03:41 13-Oct-08
Offline 12:06:54 13-Oct-08
Online 12:10:10 13-Oct-08
Online 12:13:26 13-Oct-08
Online 12:16:42 13-Oct-08
Online 12:19:58 13-Oct-08
Offline 12:23:11 13-Oct-08
Offline 12:26:24 13-Oct-08
Offline 12:29:37 13-Oct-08
Offline 14:51:13 13-Oct-08
Offline 14:54:26 13-Oct-08

I'm trying with no success to plot online time by day and by time windows,
on a 24 hour scale.
Help and tips will be much appreciated.
Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default time plots/charts in Excel

Petr,
Thanks for the guidance so far.
I followed your advice and added columns D and E; so far so good.

A B C D E
Online 23:34:09 12-Oct-08 12-10-08 23:34 1
Online 23:37:24 12-Oct-08 12-10-08 23:37 1
Offline 23:40:37 12-Oct-08 12-10-08 23:40 0
Offline 23:43:50 12-Oct-08 12-10-08 23:43 0
Offline 23:47:03 12-Oct-08 12-10-08 23:47 0
Offline 12:00:28 13-Oct-08 13-10-08 12:00 0
Offline 12:03:41 13-Oct-08 13-10-08 12:03 0
Offline 12:06:54 13-Oct-08 13-10-08 12:06 0
Online 12:10:10 13-Oct-08 13-10-08 12:10 1
Online 12:13:26 13-Oct-08 13-10-08 12:13 1
Online 12:16:42 13-Oct-08 13-10-08 12:16 1
Online 12:19:58 13-Oct-08 13-10-08 12:19 1
Offline 12:23:11 13-Oct-08 13-10-08 12:23 0
Offline 12:26:24 13-Oct-08 13-10-08 12:26 0
Offline 12:29:37 13-Oct-08 13-10-08 12:29 0
Offline 14:51:13 13-Oct-08 13-10-08 14:51 0
Offline 14:54:26 13-Oct-08 13-10-08 14:54 0
Offline 14:57:39 13-Oct-08 13-10-08 14:57 0
Online 15:00:55 13-Oct-08 13-10-08 15:00 1
Online 15:04:11 13-Oct-08 13-10-08 15:04 1
Online 15:07:27 13-Oct-08 13-10-08 15:07 1
Online 15:10:43 13-Oct-08 13-10-08 15:10 1
Online 15:13:59 13-Oct-08 13-10-08 15:13 1
Online 15:17:16 13-Oct-08 13-10-08 15:17 1
Online 15:20:32 13-Oct-08 13-10-08 15:20 1
Offline 15:23:45 13-Oct-08 13-10-08 15:23 0
Offline 15:26:58 13-Oct-08 13-10-08 15:26 0
Offline 15:30:11 13-Oct-08 13-10-08 15:30 0
Offline 15:33:24 13-Oct-08 13-10-08 15:33 0
Offline 15:36:37 13-Oct-08 13-10-08 15:36 0
Offline 15:39:50 13-Oct-08 13-10-08 15:39 0

Now, data ranges: I have selected D and E but it won't work.
I have to plot I believe C and D for E=1, how do I do that?
And how do I enter time on Y, it turns a value if entered in 12:12:12 format.
I'm completely lost, please lend me a hand.
Thanks.

"PBezucha" wrote:

Leo,
Obviously the time intervals are different in the record. Therefore you have
to employ scatter (xy) chart. To prepare data for it:
(1) Be sure that values 18-Oct-80 etc. are formatted as dates, and 20:23:12
as times.
(2) Place sums in the forth column: €œ= B1 + C1€, and downwards. General
time data appear as results.
(3) Format these data range properly, creating your user format. It will be
adopted in the chart for x-axis text, and therefore must be short and
fitting. You will have to omit year and probably month, and on the other side
minutes and seconds.
(4) Link 1s for online mode, 0s for offline: in the fifth column
€œ=if(A1=€Online€,1,0)€

(5) Select correct range in columns D and E, and by means of chart wizard
choose scatter chart.
(6) Set proper time scale: do not be shocked by offered values round 36900
(these are the whole days count from the beginning of 1900, including current
day fraction), and input the whole expressions, e.i. 12-Oct-08 23:00:00 for
the beginning, and 13-Oct-08 15:00:00 for the end on x-axis. You can select
also interval on the axis e.i. 3:00:00.
(7) Select sufficiently thick line with no markers; tick off €œsmooth line€.

Petr

--
Petr Bezucha


"Leoborealis" wrote:

I am trying to plot usage time for a device we use; data is in the following
format:

A B C
Online 23:27:39 12-Oct-08
Online 23:30:54 12-Oct-08
Online 23:34:09 12-Oct-08
Online 23:37:24 12-Oct-08
Offline 23:40:37 12-Oct-08
Offline 23:43:50 12-Oct-08
Offline 23:47:03 12-Oct-08
Offline 12:00:28 13-Oct-08
Offline 12:03:41 13-Oct-08
Offline 12:06:54 13-Oct-08
Online 12:10:10 13-Oct-08
Online 12:13:26 13-Oct-08
Online 12:16:42 13-Oct-08
Online 12:19:58 13-Oct-08
Offline 12:23:11 13-Oct-08
Offline 12:26:24 13-Oct-08
Offline 12:29:37 13-Oct-08
Offline 14:51:13 13-Oct-08
Offline 14:54:26 13-Oct-08

I'm trying with no success to plot online time by day and by time windows,
on a 24 hour scale.
Help and tips will be much appreciated.
Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 120
Default time plots/charts in Excel

Leo,
Correctly, you have the summed time values in the column D :
13-10-08 15:36, €¦,
and 0s and 1s in E.
I suppose you know the way how to use chart wizard for xy-scatter chart. You
can prove the ability on your own sample (0, 1, 2, €¦ in column A, 0 ,1 3, €¦
in column B€¦). Define line and no markers.
Then you certainly see that x-values are the times in D and y-values 0s and
1s in E. So, have you selected right range? Why do you write you should
enter time in Y????
If still nothing or something awful happens with your data, then the clue
may be in formatting the time. You must be sure you have set suitable format
as I indicated. It is not quite easy with Excel, but you must try to adapt
proper feature in setting user format to your time range. Use help.
At worse, send me your work on petr.bezucha at vuanch.cz.
Petr

--
Petr Bezucha


"Leoborealis" wrote:

Petr,
Thanks for the guidance so far.
I followed your advice and added columns D and E; so far so good.

A B C D E
Online 23:34:09 12-Oct-08 12-10-08 23:34 1
Online 23:37:24 12-Oct-08 12-10-08 23:37 1
Offline 23:40:37 12-Oct-08 12-10-08 23:40 0
Offline 23:43:50 12-Oct-08 12-10-08 23:43 0
Offline 23:47:03 12-Oct-08 12-10-08 23:47 0
Offline 12:00:28 13-Oct-08 13-10-08 12:00 0
Offline 12:03:41 13-Oct-08 13-10-08 12:03 0
Offline 12:06:54 13-Oct-08 13-10-08 12:06 0
Online 12:10:10 13-Oct-08 13-10-08 12:10 1
Online 12:13:26 13-Oct-08 13-10-08 12:13 1
Online 12:16:42 13-Oct-08 13-10-08 12:16 1
Online 12:19:58 13-Oct-08 13-10-08 12:19 1
Offline 12:23:11 13-Oct-08 13-10-08 12:23 0
Offline 12:26:24 13-Oct-08 13-10-08 12:26 0
Offline 12:29:37 13-Oct-08 13-10-08 12:29 0
Offline 14:51:13 13-Oct-08 13-10-08 14:51 0
Offline 14:54:26 13-Oct-08 13-10-08 14:54 0
Offline 14:57:39 13-Oct-08 13-10-08 14:57 0
Online 15:00:55 13-Oct-08 13-10-08 15:00 1
Online 15:04:11 13-Oct-08 13-10-08 15:04 1
Online 15:07:27 13-Oct-08 13-10-08 15:07 1
Online 15:10:43 13-Oct-08 13-10-08 15:10 1
Online 15:13:59 13-Oct-08 13-10-08 15:13 1
Online 15:17:16 13-Oct-08 13-10-08 15:17 1
Online 15:20:32 13-Oct-08 13-10-08 15:20 1
Offline 15:23:45 13-Oct-08 13-10-08 15:23 0
Offline 15:26:58 13-Oct-08 13-10-08 15:26 0
Offline 15:30:11 13-Oct-08 13-10-08 15:30 0
Offline 15:33:24 13-Oct-08 13-10-08 15:33 0
Offline 15:36:37 13-Oct-08 13-10-08 15:36 0
Offline 15:39:50 13-Oct-08 13-10-08 15:39 0

Now, data ranges: I have selected D and E but it won't work.
I have to plot I believe C and D for E=1, how do I do that?
And how do I enter time on Y, it turns a value if entered in 12:12:12 format.
I'm completely lost, please lend me a hand.
Thanks.

"PBezucha" wrote:

Leo,
Obviously the time intervals are different in the record. Therefore you have
to employ scatter (xy) chart. To prepare data for it:
(1) Be sure that values 18-Oct-80 etc. are formatted as dates, and 20:23:12
as times.
(2) Place sums in the forth column: €œ= B1 + C1€, and downwards. General
time data appear as results.
(3) Format these data range properly, creating your user format. It will be
adopted in the chart for x-axis text, and therefore must be short and
fitting. You will have to omit year and probably month, and on the other side
minutes and seconds.
(4) Link 1s for online mode, 0s for offline: in the fifth column
€œ=if(A1=€Online€,1,0)€

(5) Select correct range in columns D and E, and by means of chart wizard
choose scatter chart.
(6) Set proper time scale: do not be shocked by offered values round 36900
(these are the whole days count from the beginning of 1900, including current
day fraction), and input the whole expressions, e.i. 12-Oct-08 23:00:00 for
the beginning, and 13-Oct-08 15:00:00 for the end on x-axis. You can select
also interval on the axis e.i. 3:00:00.
(7) Select sufficiently thick line with no markers; tick off €œsmooth line€.

Petr

--
Petr Bezucha


"Leoborealis" wrote:

I am trying to plot usage time for a device we use; data is in the following
format:

A B C
Online 23:27:39 12-Oct-08
Online 23:30:54 12-Oct-08
Online 23:34:09 12-Oct-08
Online 23:37:24 12-Oct-08
Offline 23:40:37 12-Oct-08
Offline 23:43:50 12-Oct-08
Offline 23:47:03 12-Oct-08
Offline 12:00:28 13-Oct-08
Offline 12:03:41 13-Oct-08
Offline 12:06:54 13-Oct-08
Online 12:10:10 13-Oct-08
Online 12:13:26 13-Oct-08
Online 12:16:42 13-Oct-08
Online 12:19:58 13-Oct-08
Offline 12:23:11 13-Oct-08
Offline 12:26:24 13-Oct-08
Offline 12:29:37 13-Oct-08
Offline 14:51:13 13-Oct-08
Offline 14:54:26 13-Oct-08

I'm trying with no success to plot online time by day and by time windows,
on a 24 hour scale.
Help and tips will be much appreciated.
Thank you.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you create Box Plots (Box-and-Whisker Plots) in Excel? Amy Bass Charts and Charting in Excel 3 December 28th 06 12:18 AM
How can I create stem and leaf charts / box plots? Dave Finch Charts and Charting in Excel 1 May 27th 06 03:13 PM
Can time be used as both the x and y variables in scatter plots? [email protected] Charts and Charting in Excel 1 December 8th 05 12:58 PM
Excel gives me line plots - I want scatter plots Pangloss Charts and Charting in Excel 1 October 14th 05 02:15 PM
How do I remove empty chart plots from linked worksheet charts Lee IT Charts and Charting in Excel 3 January 31st 05 04:31 PM


All times are GMT +1. The time now is 10:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"