|
From: <el...@ph...> - 2007-07-20 10:10:50
|
Hello all Gnuplot people I have a small problem that I dont know how to solve I use my fortran code to generate a series of plotfiles and load files. A typical loadfile ( n5-6c0901_J030.load ) looks like plot "n5-6c0901.tcs" w l ,"n5-6c0901_J030.parsig" w l set term post land color solid lw 2 set output "n5-6c0901_J030.ps" plot "n5-6c0901.tcs" w l ,"n5-6c0901_J030.parsig" w l set term x11 I run gnuplot version 4.0 patchlevel 0 as gnuplot> load 'n5-6c0901_J030.load' gnuplot> load 'n5-6c0901_J029.load' gnuplot> load 'n5-6c0901_J028.load' etc When I want to use ggv, kghostview or print the *.ps files I get errors. I tseems now that I can only execute one loadfile at a time and then I have to exit. I have tried to add a line : exit at the end of each loadfile bu that does not help. Am I doing something stupid or ? I want to be efficient and only write as little as possible since I routinely need to p=E5rint these files as part of the analysis of our studies. Best regards Nils Elander Prof. of theoretical molecular physics Stockholm University and |
|
From: Thomas S. <t.s...@fz...> - 2007-07-20 12:42:11
|
add a set output after the second plot command, otherwise the postscript file will not be written properly. elander wrote: >=20 > Hello all Gnuplot people >=20 > I have a small problem that I dont know how to solve >=20 > I use my fortran code to generate a series of plotfiles and load files. >=20 > A typical loadfile ( n5-6c0901_J030.load ) looks like >=20 > plot "n5-6c0901.tcs" w l ,"n5-6c0901_J030.parsig" w l > set term post land color solid lw 2 > set output "n5-6c0901_J030.ps" > plot "n5-6c0901.tcs" w l ,"n5-6c0901_J030.parsig" w l > set term x11 >=20 > I run gnuplot version 4.0 patchlevel 0 >=20 > as > gnuplot> load 'n5-6c0901_J030.load' > gnuplot> load 'n5-6c0901_J029.load' > gnuplot> load 'n5-6c0901_J028.load' >=20 > etc >=20 > When I want to use ggv, kghostview or print the *.ps files > I get errors. >=20 > I tseems now that I can only execute one loadfile at a time > and then I have to exit. >=20 > I have tried to add a line : exit at the end of each loadfile > bu that does not help. >=20 > Am I doing something stupid or ? >=20 > I want to be efficient and only write as little as possible since > I routinely need to p=C3=A5rint these files as part of the analysis > of our studies. > Best regards >=20 > Nils Elander > Prof. of theoretical molecular physics >=20 > Stockholm University >=20 > and >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info >=20 >=20 --=20 View this message in context: http://www.nabble.com/Problem-with-gnuplot---= how-do-I-get-it-to-work-tf4116231.html#a11707415 Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <pl...@pi...> - 2007-07-20 21:56:01
|
On Fri, 20 Jul 2007 12:10:42 +0200, <el...@ph...> wrote: > Hello all Gnuplot people > > I have a small problem that I dont know how to solve > > I use my fortran code to generate a series of plotfiles and load files. > > A typical loadfile ( n5-6c0901_J030.load ) looks like > > plot "n5-6c0901.tcs" w l ,"n5-6c0901_J030.parsig" w l > set term post land color solid lw 2 > set output "n5-6c0901_J030.ps" > plot "n5-6c0901.tcs" w l ,"n5-6c0901_J030.parsig" w l > set term x11 > I think you need to set output to something else to close the file and flush the buffer. Changing the terminal is not doing this. HTH > I run gnuplot version 4.0 patchlevel 0 > > as > gnuplot> load 'n5-6c0901_J030.load' > gnuplot> load 'n5-6c0901_J029.load' > gnuplot> load 'n5-6c0901_J028.load' > > etc > > When I want to use ggv, kghostview or print the *.ps files > I get errors. > > I tseems now that I can only execute one loadfile at a time > and then I have to exit. > > I have tried to add a line : exit at the end of each loadfile > bu that does not help. > > Am I doing something stupid or ? > > I want to be efficient and only write as little as possible since > I routinely need to pårint these files as part of the analysis > of our studies. > Best regards > > Nils Elander > Prof. of theoretical molecular physics > > Stockholm University > > and > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gnuplot-bugs mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs > |