[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plotting multiple data-lines in one eps file
From: |
Jan Trmal |
Subject: |
Plotting multiple data-lines in one eps file |
Date: |
Tue, 19 Nov 2002 14:29:28 +0100 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have small problem with octave. I'm not sure, if it is not problem of
GNUPlot, in this case sorry for Off Topic.
I'm trying to plot tvo data lines on one-page color eps file.
Simple example:
x=0:0.01:10;
gset('terminal postscript solid');
gset('terminal postscript color');
gset('terminal postscript eps');
gset('grid');
gset('output "out.eps"');
hold on;
plot(x, sin(x));
plot(x, cos(x));
hold off;
closeplot;
But if I open te resulting file, it has three pages. The first page has graph
of sin(x), the second both of graphs (sin(x), cos(x)) and the last page is
empty.
Could anyone help me, how to output just one-page eps with both of graphs.
Yes, I could use psselect, but I wonder if it is possible. Am I making some
mistake somewhere?
Best regards
Yenda
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE92jzAjj+Gmuy88sgRAmEbAJ4jfvDKNXZOo/UOZCPioTYoMJqR6ACgij9L
5DV6BR8D/kG82xhfVwnloa0=
=LUnX
-----END PGP SIGNATURE-----
-------------------------------------------------------------
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
-------------------------------------------------------------
- Plotting multiple data-lines in one eps file,
Jan Trmal <=