help-octave
[Top][All Lists]
Advanced

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

Re: cd in octave and gnuplot


From: Vinayak Dutt
Subject: Re: cd in octave and gnuplot
Date: Tue, 8 Aug 95 10:59:53 CDT

#
#Hello everybody,
#
#we encounter a little "problem" when changing the path in octave.
#Using the cd command changes the path in octave but DOES NOT do so for
#the gnuplot plotting process. As a result, the data are read and
#written from an to the changed location but plots are still written to
#the startup location of the gunplot process. 
#
#Is there any way to tell the new path to the gnuplot process so that
#the plot output is written to the appropiate directory? Is there
#perhaps a chance to get a consistent behavior in future versions of
#octave?
#

 It looks as if one will have to execute cd on gnuplot also when one executes
cd on octave. I guess the cd command could be modified such that if gnuplot
has been already forked, then it will also send cd command to the gnuplot
process.

In current implementation, you could stop the gnuplot process before doing
cd by using closeplot command, and, then later restarting gnuplot after the
cd command. This way the newly started gnuplot process will have the
new directory as its parent directory.

--vinayak-
/*
 * vinayak dutt
 * ex-graduate student, ultrasound research
 * mayo graduate school, rochester mn
 *
 * e-mail: address@hidden
 *         address@hidden
 *         address@hidden
 *
 */
#include "disclaimer.h"


reply via email to

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