[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using gnuplot (wgnuplot) with octave under windows 95
From: |
Alan Rockwood |
Subject: |
using gnuplot (wgnuplot) with octave under windows 95 |
Date: |
Mon, 03 Sep 2001 11:03:11 -0600 |
I am having trouble setting up wgnuplot to work with octave under windows
(cygwin). I think my problem has something to do with octaverc.
Here's my batch file for starting octave. It's named octave.bat:
rem @echo off
rem :: ..generated by GNU Octave setup.bat, then modified by ALR
if not exist \tmp\nul mkdir \tmp
bash --login StartOctave
rd \tmp
OK now, that's the end of my batch file. StartOctave looks like this:
#!/bin/sh
rxvt -fn "Courier New-14" -tn linux -title "GNU Octave 2.1.31" -n "GNU
Octave" +sr -sl 1000 -e octave
OK that's the end of StartOctave. So far, so good. Everything works fine.
However, I have tried to hook octave to wgnuplot using pipe-gnuplot.exe and
have not succeeded. I think it has something to do with the file octavert.
This is how I set up the file octavert:
## System-wide startup file for Octave.
##
## This file should contain any commands that should be executed each
## time Octave starts for every user at this site.
gnuplot_binary = "pipe-gnuplot c:/gnu/usr/local/bin/wgnuplot"
putenv('TMPDIR','c:/PalmDev/cygwin/tmp')
The path pointing to wgnuplot is correct. I am not sure what the purpose of
the putenv line is, but it does point to an existing directory.
I think the fundamental question is this: How does octave find octavert?
A related question is this: Should I put the lines that I now have in
octavert into the file StartOctave, or possibly into the file octave.bat?
Thanks.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-------------------------------------------------------------
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
-------------------------------------------------------------
- using gnuplot (wgnuplot) with octave under windows 95,
Alan Rockwood <=