|
From: Dan L. <da...@la...> - 2007-10-10 15:59:37
|
On 10 Oct 2007 at 8:19, Thomas Sefzick wrote: > Dan Langille wrote: > > > > Hi folks, > > > > I've managed to get my first graph working with gnuplot. I am > > plotting data from my tape library. I want to see the errors per > > GB. > > It would be niced to see all the tapes in one set of output. > > > > There are the commands I am using to generate the plot: > > > > set timefmt "%Y/%m/%d %H:%M" > > set xrange ["2000/12/01":"2004/05/01"] > > set format x "%Y/%m/%d" > > #set timefmt "%Y/%m%d %H:%M" > > set timestamp "Graph created: %Y/%m/%d %H:%M" > > plot "dlt-data" using 1:4 title 'Corrected Errors/GB' > > > > Here is the [sample] input data I am using: > > > > 2001/01/01.11:53 DLT7000-002 290 > > 2001/01/01.11:54 DLT7000-002 100 > > 2001/01/01.11:55 DLT7000-002 10 > > 2001/01/01.11:56 DLT7000-002 200 > > > > The above is: date/time, tape label, and errors detected. > > > > What suggestions do you have for this plot? Especially for getting > > multiple graphs in there, one for each tape label. > are the data > - in single files, i.e. one file per tape? > - in one file? Undecided. We don't have enough data yet to consider more than one file. But we could do either one file or one file per tape. I am leaning towards one file per tape. > - - data of different tapes separated? if yes, how? > - - or mixed? I would expect all data for one tape to be in the same file. If we went for all tapes in one file, one of the colums would identify the tape in question. At present, all tapes are of the same type. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php |