|
From: Matthias_D <d00...@nt...> - 2011-10-02 16:31:15
|
Hi,
I'm quite new to use gnuplot. Very complicated, I think. But hope I can
learn it.
My problem (I found a complicated sollution already, but maybe there is a
simple one):
There are many temperatur monitoring stations. The time of their activity
shall be plotted
as a horizontal line (x axis is the time [hours]) as well as the hours of
their malfunktion
(set a "+" on this line).
The x axis is the time [hours] from 1 to 17544 (for 2 years).
Now I arranged the data in one file for each station. Looks like this:
First column is the time (hours), second column shows the beginning and end,
third column shows the errors.
567 1 []
678 [] 1
679 [] 1
....
17543 [] 1
17544 1 []
I inserted the brackets to tell gnuplot that here is no value to plot.
Actually the data is logical. For various stations I choose to replace the
"1" with "2", "3", .....
Then the y axis will be 1, 2, 3 and so on and the data will be plotted
horizontally for each station.
This works fine with one file.
plot "001.txt" using 1:2 w lines,\
"001.txt" using 1:3 w points pt1 ps1,\
"002.txt" u 1:2 w lines,\
"002.txt" u 1:3 w points pt1 ps1
But when I want to plot more files the output becomes miserable.
I expected to add as many files as I want, but this didn't work.
I also tried to put all the data into a single file with many columns, but
it doesn't get better.
Often comes the message " ';' expected. "
Thanks for every hint!
--
View this message in context: http://old.nabble.com/Print-huge-data-into-a-single-plot-tp32578285p32578285.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|