help-octave
[Top][All Lists]
Advanced

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

Re: GNUplot missing?


From: Paul Laub
Subject: Re: GNUplot missing?
Date: Tue, 12 Apr 2005 07:46:49 -0700

Dear Siti Bakar, 

In your message below, I notice that you say that you write "Adding
the following lines to file 'octaverc'". Do you know that you spelled
the name of that file wrong? The first character of the file name
should be a period, thus the correct name is ".octaverc". Moreover,
this file should reside in your home directory. (You chose your home
directory when you installed cygwin.) All of this should be familiar
to Unix and Linux users ... but, I know, lots of Windows only users
have no such familiarity.

Also, can you verify that the data you seek to plot is at least
appearing as a temporary file in TMPDIR? Then you'll know whether the
problem is (a) Octave is not writing the data to a temp file or (b)
gnuplot is not finding or properly handing data in the temp file. The
temp file will generally have a random extension, but it is text, so
you should be able to open it in vim, emacs, less, or ... notepad.
Check for the file immediately after issuing the plot command because
Octave does have a tendency to clean up and delete temp files
generated for gnuplot's use.

Finally, from the gnuplot console and command line (which is
completely different and independent of the Octave command line), type
this "plot sin(x)" leaving out the quotation marks. Gnuplot should
respond by plotting one or two periods of the sine curve. If it does
not, then your problem may  be with gnuplot.

I hope this helps. 

Paul Laub 

On Apr 11, 2005 5:58 PM, SITI HAJAR A BAKAR
<address@hidden> wrote:
> Hello,
> 
> I have reinstalled my gnuplot except now it gives me a timeout error as
> such
> u=1:200;
> y=2*u+1
> plot(y,x)
> Timeout: gnuplot not ready
> 
> I reinstalled my gnuplot using,the following method, downloading the
> following file
> gp400win32.zip;
> Adding the following lines to file  'octaverc'
>  gnuplot_binary = "c:/gnuplot/bin/pgnuplot"
>  putenv('TMPDIR','c:/cygwin/tmp')
>  gnuplot_has_multiplot = 1
> 
> The gnuplot window does come up, but no graphs are plotted. I'm finding
> my octave very unpredictable, with different errors arising every time
> I invoke it. Any ideas??
>



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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