|
From: Lars H. <lhe...@us...> - 2006-01-26 09:36:40
|
Can anyone help with this? ----- Forwarded message from Karine Dionne <k.d...@ja...> ----- Date: Wed, 25 Jan 2006 09:50:07 -1000 (HST) From: Karine Dionne <k.d...@ja...> To: il...@li... Subject: [ILUG] gnuplot datafile with rows Hi, I am new to Gnuplot and to Linux as well and I am having a bit a struggle right now. Here is the format of my datafile: #Day Power1 Power2 Power3 Power4 ... Day1 y1 y1 y1 y1 ... Day2 y2 y2 y2 y2 ... Day3 y3 y3 y3 y3 ... "DayX" is actually a date string, but that is not my problem for now. Each column is a power measurement given by a specific powermeter. There are two types of plots I need to do. To begin, I want to compare the performance of each powermeter on a single plot. So, I would need to generate an X vector for the powermeters' IDs (from 1 to 32 in steps of 1) and I don't know how to do that. I would also need to be able to tell gnuplots to proccess rows, not columns. I browsed the internet and the mailing lists, I found one thread about it. It was in March 2000 and it says that you have to reformat your file in another file and then plot the columns. There are 2 reasons why I don't want to do that. First of all, this is a log file that will become very big with time. I am not interested in having to keep two copies of them. I could keep only the transposed copy, but this solution is not possible because of the second type of plot I need. I want to track the changes with time of the power meters. I will use the date string as the X axis and the other columns as Y. So, one way or another, I have to access rows of data for one of my two plots. I would like to know if there is a possibility to do that with gnuplot or if I should consider using something else that could do the job. I with to find something efficient and as straight forward as possible. I hope I am not asking for to much. Thanks for your time and expertise. Karine ----- End forwarded message ----- |