A Gnuplot question

dieter.jurzitza at t-online.de dieter.jurzitza at t-online.de
Thu Nov 27 04:32:20 CST 2008


Hi Thomas,
hi  Ben,
"system" may be your friend:

mypath=system ("pwd")
cd "/tmp"
pwd
cd mypath
pwd

by assigning a variable (mypath in my case) the return value of the
system command (in gnuplot) you can remember where you have been.
Take care



Dieter


P.S. tested on linux, gnuplot version 4.2.3

-----Original Message-----
> Date: Thu, 27 Nov 2008 08:26:49 +0100
> Subject: Re: A Gnuplot question
> From: Thomas Weber <thomas.weber.mail at gmail.com>
> To: Ben Abbott <bpabbott at mac.com>

> Am Mittwoch, den 26.11.2008, 20:36 -0500 schrieb Ben Abbott:
> > Do I understand correctly?
****




More information about the Help-octave mailing list