help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plotting from within octave "scripts"


From: John Smith
Subject: Re: plotting from within octave "scripts"
Date: Tue, 18 May 1999 08:03:12 +0100 (BST)

On Mon, 17 May 1999, Harikrishna R wrote:

> Hi, 
> 
> I was trying to write self-contained scripts in octave via the #!
> facility. Everything seems to work fine except for plotting commands -
> gnuplot window does not come up.  The script (program, rather) works fine,
> plotting and all, when run from an octave interactive prompt. What could
> be the problem?
> 

Or you might try
   #! /usr/local/bin/octave
   aa=linspace(0,10,100) ;
   bb=sin(a) ;
   gnuplot_binary='gnuplot -persist'
   plot(aa,bb) ;

John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]