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 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.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.