![]() |
|
Dataplot: Macros
Introduction
|
The Dataplot installation comes with a large number of
Dataplot programs and macros. Dataplot macros are ASCII text
files that contain Dataplot commands. We make a slight
distinction between macros and programs. Macros are files
that are meant to be run with a user's data set while programs
are files that analyze a specific data file. This is an
organizational distinction and macros and programs are run in
the same manner. The term Dataplot macro will often be used
to refer to both macros and programs.
|
The links for these file are to the NIST ftp site. If you have downloaded and installed Dataplot, local copies of the files are available in the "MACROS" subdirectory of the Dataplot auxillary directory. For Windows, the default auxillary directory is "C:\DATAPLOT". For Unix/Linux, the default auxillary directory is "/usr/local/lib/dataplot".
Purpose of Programs and Macros
|
These programs and macros serve two purposes:
|
CALL Command
|
You can run these macros by entering
|
LIST Command
|
The contents of the file can be displayed on the screen by
entering
|
Specifying the Location of the Dataplot Auxillary
Directory
|
If Dataplot cannot find the requested file when you enter
a CALL or LIST command, this indicates that the Dataplot
auxillary directory is not installed in the expected
location on your local platform. Contact your local
system installer to determine the location of the Dataplot
auxillary directory on your local platform.
|
If the Dataplot auxillary directory is not in the default location, you can define the environment variable DATAPLO$ (on Windows and Unix/Linux platforms) to tell Dataplot where the Dataplot auxillary directory is actually located. The Dataplot installation notes contain instructions for defining this variable for Windows and Unix/Linux platforms. For other platforms, contact your local system installer for guidance.
Menu Macros
|
For most of these macros, you define a few relevant
parameters, strings, or variables using LET commands
before calling the macro. You can use the LIST command
to find out what the needed LET commands are (these are
typically described in comment lines at the beginning of
the file).
|
The last table lists a number of macros that are described as "Menu Macros". These macros explicitly prompt the analyst for the needed information. The use of menu macros is particularly helpful for macros that you are writing for others to use. Note that menu macros should not be called if you are running the graphical interface (GUI) version of Dataplot. The GUI will hang if you try to do any "terminal reads", and terminal reads are a key component of menu macros. As an alternative for the GUI, you can extend the GUI menus. This is described in the Extending Dataplot web page.
Contents
|
The following tables lists the available built-in
Dataplot macros.
|
|
Basic Statistics and Graphics Dataplot Macros
|
|
|
[ Dataplot /
Dataplot Macros ]
|
|
Design of Experiment Dataplot Macros
|
|
|
[ Dataplot /
Dataplot Macros ]
|
|
Dataplot Menu Macros
|
|
|
[ Dataplot /
Dataplot Macros ]
|
|
Plot Identification Dataplot Macros
|
|
|
[ Dataplot /
Dataplot Macros ]
|
|
|
Date created: 6/5/2001 |
[ Dataplot / Dataplot Macros ] |