|
From: S <ste...@gm...> - 2008-04-17 19:59:31
|
Hello, is there nobody who can help me with my problem? I attach two files to this e-mail, which are output from the script from my last e-mail. They are supposed to show the same graph, just that the second one (works_only_in_x11.ps") doesn't show anything. The x11 replot (_after_ "unset out") shows the correct graph. Does the script from my last e-mail work with anyone elses version of gnuplot with correct output? (mine is Version 4.2 patchlevel 0 last modified March 2007 System: Linux 2.6.22-14-generic from ubuntu repositories) Thanks, Stephan P.S.: again, the minimal script and a sample file.txt for trying out ############script.gp########### set term postscript eps #first file: truncated values, since decimalsign ist "." by default set out "truncated.ps" plot "file.txt" w lp #second file: still truncated values, despite "set decimalsign "," set decimalsign "," show decimalsign set out "still_truncated.ps" replot #third file and x11: now file is read correctly (see x11 output) #but postscript output is unreadable set decimalsign locale "de_DE@euro" show decimalsign set out "works_only_in_x11.ps" replot unset out set term x11 replot pause -1 ################################### ##################file.txt######### 1 0,5 2 0,5 3 0,2 4 0,4 5 0,5 Hans-Bernhard Bröker schrieb: > S wrote: > >> I have input Data which is stored with "," as decimalsign. For the >> X11-terminal, plotting with >> set decimalsign locale "de_DE@euro" > > Why not just > > set decimalsign ',' > > ? > >> works, however, if I try to plot into a postscript file, it doesn't. > > How does it not work? > >> My Minimal script shows the plot of file.txt first in x11 then in >> postcript, which reveals an empty ps-file. > > That the file appears empty is probably unrelated to the decimalsign > issue. You forgot to close the output file (unset output). > > And what version of gnuplot is that, anyway? > |