[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Empty page
From: |
Koichi Hashimoto |
Subject: |
Empty page |
Date: |
Mon, 27 Apr 1998 09:33:22 +0900 |
I am using Octave 2.0.11 and Gnuplot pre 3.6 patchlevel 340 with the
following script:
function phrd (filename)
# usage: phrd (filename)
#
# Writes a eps file of a plot.
#
# See also: plot, semilogx, semilogy, loglog, polar, mesh, contour,
# bar, stairs, gplot, gsplot, replot, xlabel, ylabel, title
if (nargin != 1)
usage ("phrd (filename)");
endif
if (isstr (filename))
command = sprintf ("gset terminal post eps \"Times-Roman\" 22") ;
eval (command);
command = sprintf ("gset output \"%s.eps\"", filename);
eval (command);
replot
gset output "/dev/null"
clear
gset terminal x11
replot
else
error ("phrd: text must be a string");
endif
endfunction
>From 2.0.11, an empty page is generated before the plot page. In fact
the eps file contains the following lines just after %%EndProlog.
gnudict begin
gsave
50 50 translate
0.050 0.050 scale
0 setgray
newpath
(Times-Roman) findfont 220 scalefont setfont
stroke
grestore
end
showpage
Doing the same thing from gnuplot does not generate an empty page.
Are there any workarounds for this problem?
Koichi Hashimoto
Department of Systems Engineering,
Okayama University
address@hidden
- Empty page,
Koichi Hashimoto <=