[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eps output problem
From: |
Dmitri A. Sergatskov |
Subject: |
Re: eps output problem |
Date: |
Wed, 26 May 2004 11:26:26 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 |
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
-------------------------------------------------------------