|
From: michael b. <mic...@ma...> - 2011-04-18 20:56:11
|
Let's say I have data of the form jobID startT endT and want a visual representation of running jobs, eg plotting a line from startT to endT for each jobID, how would I go about this? Example data: 15799 20:03:26 20:16:45 15798 20:03:26 20:16:51 15800 20:03:26 20:16:51 15802 20:03:26 20:16:52 15793 20:03:26 20:16:53 15797 20:03:26 20:16:53 thanks, Michael |
|
From: michael b. <mic...@ma...> - 2011-04-19 08:46:20
|
I appreciate the part about using timefmt but not sure how to do the histograms from start to finish times (cols 2 and 3) On 19 Apr 2011, at 07:49, Amir Sabbagh wrote: > Have you read at this? > http://t16web.lanl.gov/Kawano/gnuplot/datetime-e.html > > > > On 18 April 2011 22:56, michael bane <mic...@ma...> wrote: > Let's say I have data of the form > jobID startT endT > and want a visual representation of running jobs, eg plotting a line > from startT to endT for each jobID, how would I go about this? > Example data: > 15799 20:03:26 20:16:45 > 15798 20:03:26 20:16:51 > 15800 20:03:26 20:16:51 > 15802 20:03:26 20:16:52 > 15793 20:03:26 20:16:53 > 15797 20:03:26 20:16:53 > > > thanks, Michael > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > -- > ************************************************************** > Amir Sabbagh > Il mio sito / My site: http://almucantarat.altervista.org > ************************************************************** > |
|
From: Amir S. <ami...@gm...> - 2011-04-20 16:24:19
|
Hi Michael, if you could convert the time format in seconds you could try set format x "%H:%M:%S" plot "date.txt" using 2:1:($3-$2):(0) with vectors nohead I know is not exactly what you asked, but this is my best suggestion Hope it helps Amir unfortunately gnuplot can't handle operations between dates as far I know. On 19 April 2011 10:46, michael bane <mic...@ma...> wrote: > I appreciate the part about using timefmt but not sure how to do the > histograms from start to finish times (cols 2 and 3) > > > On 19 Apr 2011, at 07:49, Amir Sabbagh wrote: > > Have you read at this? > http://t16web.lanl.gov/Kawano/gnuplot/datetime-e.html > > > > On 18 April 2011 22:56, michael bane <mic...@ma...>wrote: > >> Let's say I have data of the form >> jobID startT endT >> and want a visual representation of running jobs, eg plotting a line >> from startT to endT for each jobID, how would I go about this? >> Example data: >> 15799 20:03:26 20:16:45 >> 15798 20:03:26 20:16:51 >> 15800 20:03:26 20:16:51 >> 15802 20:03:26 20:16:52 >> 15793 20:03:26 20:16:53 >> 15797 20:03:26 20:16:53 >> >> >> thanks, Michael >> >> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about >> boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > > -- > ************************************************************** > Amir Sabbagh > Il mio sito / My site: http://almucantarat.altervista.org > ************************************************************** > > > -- ************************************************************** Amir Sabbagh Il mio sito / My site: http://almucantarat.altervista.org ************************************************************** |
|
From: michael b. <mic...@ma...> - 2011-04-20 16:40:32
|
aha, that's so close! is there any intrinsic for Gnuplot to subtract times (it knows the format...)? ta, M On 20 Apr 2011, at 17:23, Amir Sabbagh wrote: > Hi Michael, if you could convert the time format in seconds you could try > > set format x "%H:%M:%S" > plot "date.txt" using 2:1:($3-$2):(0) with vectors nohead > > I know is not exactly what you asked, but this is my best suggestion > > Hope it helps > Amir > > > unfortunately gnuplot can't handle operations between dates as far I know. > > On 19 April 2011 10:46, michael bane <mic...@ma...> wrote: > I appreciate the part about using timefmt but not sure how to do the histograms from start to finish times (cols 2 and 3) > > > On 19 Apr 2011, at 07:49, Amir Sabbagh wrote: > >> Have you read at this? >> http://t16web.lanl.gov/Kawano/gnuplot/datetime-e.html >> >> >> >> On 18 April 2011 22:56, michael bane <mic...@ma...> wrote: >> Let's say I have data of the form >> jobID startT endT >> and want a visual representation of running jobs, eg plotting a line >> from startT to endT for each jobID, how would I go about this? >> Example data: >> 15799 20:03:26 20:16:45 >> 15798 20:03:26 20:16:51 >> 15800 20:03:26 20:16:51 >> 15802 20:03:26 20:16:52 >> 15793 20:03:26 20:16:53 >> 15797 20:03:26 20:16:53 >> >> >> thanks, Michael >> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> >> >> -- >> ************************************************************** >> Amir Sabbagh >> Il mio sito / My site: http://almucantarat.altervista.org >> ************************************************************** >> > > > > > -- > ************************************************************** > Amir Sabbagh > Il mio sito / My site: http://almucantarat.altervista.org > ************************************************************** > |