help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted postscript & pdf plots


From: Shai Ayal
Subject: Re: Unwanted postscript & pdf plots
Date: Thu, 12 Jan 2006 10:29:01 +0200
User-agent: Thunderbird 1.5 (X11/20051025)

I'm not sure it will work, but maybe you should try to add another

gset terminal dumb
gset output "/dev/null"

just after the replot

Shai

address@hidden wrote:
Hello,

I'm using Octave 2.1.53, the fink binary version for OS X.

I ssh to the machine that has Octave installed, so have only a
text-based terminal emulator interface to it.

When I want to create figures I would like Octave to write the figures
to files.  I use code like:

gset terminal dumb
gset output "/dev/null"

semilogx (x, y, "r")
hold on
semilogx (x, z, "g")
hold off

gset terminal postscript
gset output "output.ps"
replot
closeplot


But when I open up the resulting postscript files I find two identical
figures (the figures are correct, with both y and z plotted against x).
I expected to see only one figure in the postscript file, and this is
what I get if I ask Octave to plot to a png file.

Am I doing something wrong?  I get the same result if I use terminal
type pdf.  I've heard that gnuplot postscript and Octave interact in
unexpected ways, and that is why it is best to change terminal type to
postscript and then replot only when the figure is finished - but that
doesn't seem to help here.

Thanks,
Neil



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------


--
Shai Ayal, Ph.D.
Head of Research
BioControl Medical BCM
3 Geron St.
Yehud 56100
ISRAEL
Tel:  + 972 3 6322 126 ext 223
Fax:  + 972 3 6322 125
email: address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]