Specify the name of the directory where Dataplot will look for files.
When Dataplot encounters a file name (on the LIST, READ, WRITE, or CALL
commands), it will do the following:
- It will first look for the file in the current directory (you
can enter the PWD command if you are not sure what that is).
- If it does not find the file, it will look for the file in
the Dataplot auxillary directory. By default, this will be
"C:\Program Files (x86)\NIST\DATAPLOT" under Windows systems
and "/usr/local/lib/dataplot" under Unix/Linux/Mac OS X
systems. However, this may be different on your platform.
Dataplot first searches this directory and then the following
sub-directories "help", "data", "dex", "macros", "programs",
"text", "menu", "ps", and "tex" are searched (in the order
Note that under Unix/Linux/Mac OS X systems, which are case sensitive,
Datatplot will first try to open the file name as given. If the file
is not found, then Dataplot will convert the file name to all upper
case and try to open the file. If the file is not found, then Dataplot
will convert the file name to all lower case and try to open the
file. Note that this file name conversion is performed in each
directory before moving to the next directory.
Some users may find it convenient to keep macros and datasets that will
be used in subsequent Dataplot sessions in a common directory. The
SEARCH DIRECTORY command allows you to specify a directory to be
searched for file names. This directory will be searched after the
current directory but before the Dataplot auxillary directories.
Currently, this command is limited to a single directory.
SET SEARCH DIRECTORY <string>
where <string> specifies the desired directory name.
SET SEARCH DIRECTORY C:\DATAPLOT_MACROS
SET SEARCH DIRECTORY C:\DATAPLOT_DATASETS
SET SEARCH DIRECTORY /home/heckert/dataplot_macros
= Define the location for Dataplot's auxillary files.
= List the contents of a file.
= Read data from a file.
= Write data to a file.
= Execute commands stored in a file.
. Assume "sample.dp" is in the /home/heckert/dataplot/macros directory
SET SEARCH DIRECTORY /home/heckert/dataplot/macros
NIST is an agency of the U.S.
Date created: 10/29/2014
Last updated: 10/29/2014
Please email comments on this WWW page to