I would like to know how to create automatically a pdf document with a graph done with gnuplot. A the end of the $$.txt document, I tried to add some lines but I did not succeed. What are the right lines to add?
My $$.txt :
_
set xrange
set yrange
set xlabel "x (m)"
set ylabel "P1 (kPa)"
set border 3
set xtics nomirror
set ytics nomirror
set key bottom right
plot "donnees/p1valeur.txt" using 1:2 linetype 6 title '10bar'
replot "donnees/p1valeur.txt" using 1:4 linetype 1 title '14bar'
replot "donnees/p1valeur.txt" using 1:6linetype 5 title '18bar'
replot "donnees/p1valeur.txt" using 1:8 linetype 7 title '22bar'
replot "donnees/p1valeurtheo.txt" using 1:2 with lines notitle linetype 6
replot "donnees/p1valeurtheo.txt" using 1:3 with lines notitle linetype 1
replot "donnees/p1valeurtheo.txt" using 1:4 with lines notitle linetype 5
replot "donnees/p1valeurtheo.txt" using 1:5 with lines notitle linetype 7
_
Thank you for your help.
Vinrcd
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I would like to know how to create automatically a pdf document with a graph done with gnuplot. A the end of the $$.txt document, I tried to add some lines but I did not succeed. What are the right lines to add?
My $$.txt :
_
set xrange
set yrange
set xlabel "x (m)"
set ylabel "P1 (kPa)"
set border 3
set xtics nomirror
set ytics nomirror
set key bottom right
plot "donnees/p1valeur.txt" using 1:2 linetype 6 title '10bar'
replot "donnees/p1valeur.txt" using 1:4 linetype 1 title '14bar'
replot "donnees/p1valeur.txt" using 1:6linetype 5 title '18bar'
replot "donnees/p1valeur.txt" using 1:8 linetype 7 title '22bar'
replot "donnees/p1valeurtheo.txt" using 1:2 with lines notitle linetype 6
replot "donnees/p1valeurtheo.txt" using 1:3 with lines notitle linetype 1
replot "donnees/p1valeurtheo.txt" using 1:4 with lines notitle linetype 5
replot "donnees/p1valeurtheo.txt" using 1:5 with lines notitle linetype 7
_
Thank you for your help.
Vinrcd