|
From: pemilti <mic...@lt...> - 2008-09-04 06:35:37
|
hello,
it would be very nice if someone can help me. I have some datas in a file
with consecutive numbering.
All files are in the same directory. Is it possible to plot them all
automatically without a script like that i have copy. I think like a
programm with a loop for ... do... ? I have more than 250 data files which I
have to plot.
set grid
set title 'Data Netz Aus'
set xlabel 'Zeit [s]'
set terminal gif tiny size 1024,768
set y2label
set y2tics
set output 'Ausgabe_00.gif'
plot 'NetzAus_0.dat' using 1:2 with lines axes x1y1 title "Strom [A]", \
'NetzAus_0.dat' using 1:3 with lines axes x1y1 title "ISQSOLL_VF [A]",
\
'NetzAus_0.dat' using 1:4 with lines axes x1y2 title "UZK [V]", \
'NetzAus_0.dat' using 1:5 with lines axes x1y2 title "Frequenz [Hz]"
set output 'Ausgabe_01.gif'
plot 'NetzAus_1.dat' using 1:2 with lines axes x1y1 title "Strom [A]", \
'NetzAus_1.dat' using 1:3 with lines axes x1y1 title "ISQSOLL_VF [A]",
\
'NetzAus_1.dat' using 1:4 with lines axes x1y2 title "UZK [V]", \
'NetzAus_1.dat' using 1:5 with lines axes x1y2 title "Frequenz [Hz]"
set output 'Ausgabe_02.gif'
plot 'NetzAus_2.dat' using 1:2 with lines axes x1y1 title "Strom [A]", \
'NetzAus_2.dat' using 1:3 with lines axes x1y1 title "ISQSOLL_VF [A]",
\
'NetzAus_2.dat' using 1:4 with lines axes x1y2 title "UZK [V]", \
'NetzAus_2.dat' using 1:5 with lines axes x1y2 title "Frequenz [Hz]"
....
...
..
Thanks for your answers
pemilti
--
View this message in context: http://www.nabble.com/read-and-plot-a-lot-of-files-with-consecutive-numbering-tp19272692p19272692.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|