From owner-help-octave at bevo dot che dot wisc dot edu Tue Nov 26 14:55:42 1996 Subject: Re: working directory for gnuplot From: "Dutt, Vinayak, Ph.D." (Vinayak Dutt) To: help-octave at bevo dot che dot wisc dot edu Date: Tue, 26 Nov 1996 14:54:04 -0600 #> #> I have the following problem when using the gplot command. If I #> change directory during the Octave session, then commands like: #> #> gplot "myfile" #> #> doesn't work because it seems that gnuplot doesn't track the change of #> directory. I ask if someone else has found this, and if there is a #> workaround/fix/patch. I guess best fix for it would be to fix the octave cd command such that it would run cd command on gnuplot also if gnuplot was running. I have not tried this myself, but running "closeplot" command before the gplot command could also fix the cd command problem. "closeplot" closes the gplot pipe and hence next gplot command should start a new pipe to gnuplot which would hopefully be started in the correct directory. Vinayak Dutt Ultrasound Research Mayo Clinic Rochester MN 55905 E-Mail: dutt dot vinayak at mayo dot edu