[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting
From: |
pkienzle |
Subject: |
Re: Plotting |
Date: |
Fri, 17 Oct 2003 06:17:06 +0100 |
On 15 Oct 2003 at 11:46, Kristof Timmermans wrote:
> I am using C++ with Octave. I know how to plot something, but how can I
> plot more than one plot?
>
> I use the command feval("plot", ...), but this gives only one plot, what
> do I have to write more in my code to get more than one plot? Because
> things like feval("figure(2)", ...) don't work...
Either use eval on "figure(2)" or feval on "figure" with an arglist
containing 2. The following may work (untested):
feval("figure",octave_value_list(octave_value(2.0)));
Paul Kienzle
address@hidden
-------------------------------------------------------------
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, Kristof Timmermans, 2003/10/15
- Re: Plotting,
pkienzle <=