[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnuplot with octave cygwin32
From: |
Billinghurst, David (RTD) |
Subject: |
gnuplot with octave cygwin32 |
Date: |
Wed, 9 Sep 1998 05:44:35 -0000 |
I had some trouble today plotting from octave-2.0.13 on a PC.
Problem 1 - "broken pipe" error on first use of plot()
This happened when my working directory was on a different drive to the
octave and gnuplot binaries
Following the instructions in
ftp://ftp.che.wisc.edu/pub/octave/BINARIES/gnu-win32/README.gnu-win32-instal
l
I set the variable gnuplot_binary to point to the pipe-gnuplot program
gnuplot_binary = "pipe-gnuplot /bin/wgnuplot"
This worked fine as long as I my current directory was on the same drive as
/
Solution:
Put wgnuplot in the path and set
gnuplot_binary = "pipe-gnuplot wgnuplot"
----------------------------------------------------------------------------
----------------------------------------------------------------------
Problem 2
Once I had solved problem 1, gnuplot would plot but could not find the
temporary file in /tmp
Solution
Set shell variable TMPDIR=. to put the temporary files in the current
directory.
At least . has a similar meaning in DOS and Unix
----------------------------------------------------------------------------
----------------------------------------------------------------------
I am open to cleaner solutions
+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research and Technical Support
PO Box 316, Thomastown, Vic, Australia, 3074
Phone: +61 3 9469 0642
FAX: +61 3 9462 2700
Email: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnuplot with octave cygwin32,
Billinghurst, David (RTD) <=