[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting multiple data-lines in one eps file
From: |
Ronald Kumon |
Subject: |
Re: Plotting multiple data-lines in one eps file |
Date: |
Tue, 19 Nov 2002 10:57:40 -0700 (MST) |
On Tue, 19 Nov 2002, Jan Trmal wrote:
> 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 two 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?
You need to include "gset multiplot" to make the plots appear on the same
page.
--Ron
-------------------------------------------------------------
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
-------------------------------------------------------------