From help-request at octave dot org Thu Jan 12 02:18:18 2006 Subject: Unwanted postscript & pdf plots From: To: Date: Thu, 12 Jan 2006 16:15:03 +0800 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 -------------------------------------------------------------