From help-request at octave dot org Wed May 26 12:28:29 2004 Subject: Re: eps output problem From: "Dmitri A. Sergatskov" To: Crispin Cc: help at octave dot org Date: Wed, 26 May 2004 11:26:26 -0600 Crispin wrote: > Hi > > I'm having a problem with more than one plot on the same set of axes. > > Recreated as follows: > http://www-users.york.ac.uk/~cc26/octave/ contains the files > The correct way of doing what you are trying to do is: xlabel ("Freq. (Hz)"); ylabel ("Ampl. (dB)"); axis ([100 6000 -120 0]); db = 10.*log(uberspect0(:,2:3)); f = 44100.*uberspect0(:,1); semilogx(f,db(:,1),";evolved;",f,db(:,2),";actual;"); print("spect1.eps","-depsc2") You can get this file and eps output at ftp://coffee.phys.unm.edu/pub/dima/octave/crispin/ Regards, Dmitri. p.s. I assume you have octave-2.1.57 and a recent octave-forge installed. You also may need to disable automatic_replot -- I have it disabled by default. ------------------------------------------------------------- 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 -------------------------------------------------------------