Any gnuplot experts out there?
Posted: Thu Apr 29, 2010 6:57 pm
Okay, if anyone knows of a way to make this go faster, they will be my hero forever. I'm making like a hundred graphs, and I'm typing the same thing over and over again, and what I would really like to do is write a script that will do this all at once, but I can't figure out how to do it. This is what I'm doing:
plot "filename.txt" with line
load "save.plt"
!mv my-plot.ps filename.ps
!lpr filename.ps
And I have to do this for 40 different files, and there are 4 different x-ranges, so that's like 120 graphs. So if anyone knows how to just do that much in a script that will do all 40 files at once, I will love you forever. Because then I would only have to type all of that 4 times instead of 120 times.
plot "filename.txt" with line
load "save.plt"
!mv my-plot.ps filename.ps
!lpr filename.ps
And I have to do this for 40 different files, and there are 4 different x-ranges, so that's like 120 graphs. So if anyone knows how to just do that much in a script that will do all 40 files at once, I will love you forever. Because then I would only have to type all of that 4 times instead of 120 times.
