SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search Dataplot Pages

Dataplot: Programs

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 "PROGRAM" 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:
  1. Provide useful capabilities that can be applied to your own data sets.
  2. Serve as guides for writing your own Dataplot macros.
CALL Command You can run these macros by entering
    CALL <name>
where <name> is the name of the macro as given below.
LIST Command The contents of the file can be displayed on the screen by entering
    LIST <name>
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.

File Associations The files listed on this page have a ".DP" file extension. The action taken when you click on a specific file is operating system and browser dependent. You may want to create a file association for ".DP" to specify what action you want to occur when you click on these files. Also note that Linux/Mac OS and Windows have different end-of-line conventions for files.

Windows Operating System

There are several ways to create file associations. If you are unfamiliar with how to create file associations, the following is one way to do it (you only need to do this once).

  1. Right click on one of the files and select the "Save link as ..." option. This option allows you to save the file. Select a convenient location to save the file (for our purposes here, the exact location is not important).

  2. Once you have saved the file, open the File Explorer and bring up the directory containing the saved file, right click on the saved file and then select "Properties".

  3. Under the "General" menu, look for the "Opens with" line and left click on the "Change" menu.

  4. This menu will let you select what application to open the file with. You will most likely want to select a program that allows you to edit ASCII files. We do not recommend using Notepad as it is sensitive to the end-of-line convention used in the file. Most other applications (e.g., WordPad, Notepad++) are not sensitive to the end-of-line convention used.

Linux Operating System

Under Linux, the method for specifying a file association will depend on the variant of Linux and the specific desktop/browser you are using. If you are unfamiliar with how to create a file association for ".DP" file extensions, we recommend doing a google search based on your specific Linux variant (e.g., Fedora, Ubuntu) and the specific file manager and browser being used. Most of the common applications for editing ASCII files will not be sensitive to the end-of-line convention used in the file.

Contents The following tables lists the available built-in Dataplot programs.

Basic Statistics and Graphics Dataplot Programs
Basic Statistics and Graphics
BARPLOT6.DP generate a Pareto bar plot
BIQUAD.DP perform a bi-quadratic data transformation
BOXYIEL9.DP generate a 3D plot of a non-linear function
DUEUER.DP generate specialized character plot with top and side histograms
EBERHARD.DP generate specialized bar plot
EDA1.DP EDA analysis of battery acid data (EDA1.DAT)
ELKINS12.DP plots of ozone data (ELKINS12.DAT)
HUMPHRE5.DP generate random card selection and random run sequence using the RANDOM SAMPLE and RANDOM PERMUTATION commands for dosimetry data
ERRBARPL.DP generate an error bar plot
HOTBAR.DP a 'black-box' simulation program block for implementing a fuzzy controller, typically call HOTBAR0.DP to initialize needed variables
LEVENSO3.DP generate multiplot (LEVENSO3.DAT)
MATHOPER.DP generate a word chart with math operations
MORTGAGE.DP generate a mortgage table
MULTITRA.DP generate a multitrace plot (HAYES1.DAT)
PLOTALL.DP generate a series of color plots (essentially same plots as PLOT25.DP, but with option to set foreground/background color)
PLOT25.DP generate 25 plots as a 5-by-5 multiplot
PLOT25C.DP variant of PLOT25.DP that sets WINDOW CORNER COORDINATES
PLOTCOL1.DP generate a 3-D plot with option to set foreground/background color
PLOTCOL2.DP generate two plots with color set by SETCOLOR.DP
OPTMODEL.DP generate a 3-D function plot
PSFONTS.DP demonstrate various Postscript fonts
RGB_COLOR_PALETTES.DP display the color maps given in rgb_color_schemes.txt
RGB_COLOR_PALETTES_LABELS.DP define labels for color palettes in rgb_color_schemes.txt
SCHAUER3.DP scatter plot with mean line of EPR bone dosimetry data (SCHAUER.DAT)
SCHAUER4.DP multiplot of scatter plot with mean line of EPR bone dosimetry data (SCHAUER.DAT)
SEMATECH.DP demonstrate the LATTTICE command
SHADEBOX.DP demonstrate addding a shadow to a BOX (note: this can now be done via the BOX SHADOW command)
SPIRAL.DP generate a spiral plot
STATGRAP.DP demonstrate various statistical graphics (LEW.DAT, BERGER1.DAT, GRAVITY.DAT, SPIEGEL.DAT, SHEESLE2.DAT, BOXREAC2.DAT and PAPER.DAT)
TAGTRACE.DP demonstrate how to tag traces semi-automatically
TEXASMAP.DP generate a map of Texas (TEXAS.DAT)
3D.DP generate a multiplot 3-D function plot for different perspectives (use ROTATE command)
3D0.DP generate a 3-D function plot
3D2.DP generate a multiplot 3-D function plot for different perspectives (use EYE COORDINATES command)
3DNOPLOT.DP generate a 3-D bivariate normal function plot
Dataplot  / Dataplot Programs ]

Bootstrap Analysis Programs
Bootstrap Analysis
BOOTBERG.DP perform a bootstrap linear slope analysis (BERGER1.DAT)
BOOTBER2.DP perform a bootstrap inverse calibration analysis (BERGER1.DAT)
BOOTLEW.DP perform a bootstrap location analysis (LEW.DAT)
BOOTMARS.DP perform a bootstrap location analysis (MARSHAK.DAT)
BOOTSIMI.DP perform a bootstrap analysis for an unsupported statistic (KEYWEST.DAT)
EFRON1.DP generate statistics for a bootstrap simulation
HICHO.DP generate bootstrap plot for various statistics HICHO.DAT, uses HICHOSUB.DP
Dataplot  / Dataplot Programs ]

Time Series Dataplot Programs
Time Series Analysis
DATAPLOT.DP generate a plot of a data trace (BAKER.DAT)
NEGIZ4.DP perform autoregressive time series modeling (NEGIZ4.DAT)
LAGPLOT.DP generate a lag plot (LEW.DAT), LAGPLOT2.DP is a variant of this program
LEW_TIMESERIES.DP analysis of beam deflection data (LEW.DAT), uses LEW_TIMESERIES_SUB.DP
RUBINSON23.DP time series analysis of Ken Rubinson spectrometry data (RUBINSON21.DAT), uses RUBINSON23_SUB.DP
SPECPLOT.DP generate a spectral plot (LEW.DAT)
SPIKEPLO.DP generate a plot with spikes (GNP.DAT)
TIETJEN.DP semiconductor growth rate (TIETJEN.DAT)
Dataplot  / Dataplot Programs ]

Multivariate Analysis Dataplot Programs
Multivariate Analysis
BIPLOT.DP generate a biplot
CANNCORR.DP perform a cannonical correlation
CLASSIFICATION_IRIS.DP perform a classification analysis of the Fisher Iris data (IRIS.DAT)
CONTOUR.DP generate a contour plot (BRAIN.DAT)
FISH2DIS.DP perform a Fisher discriminant analysis on 2 populations (FISH2POP.DAT)
FISHIRIS.DP perform a Fisher discriminant analysis on Fisher iris data (IRIS.DAT)
MULTPLOT.DP generate a matrix of scatter plots (AUTO83.DAT)
PARCOORD.DP generate a parallel coordinates plot (AUTO79.DAT)
PLANETS.DP analyze planets data (PLANETS.DAT)
PERIODIC.DP generate a scatter plot matrix for the periodic table (PERIODIC.DAT)
PERIODI2.DP generate plots for the periodic table (PERIODIC.DAT)
PROFPLOT.DP generate a profile plot (AUTO79.DAT)
STARPLOT.DP generate a star plot (AUTO79.DAT)
WRIGHT11.DP analyze Wright brothers lift data (WRIGHT11.DAT)
Dataplot  / Dataplot Programs ]

Control Charts
Control Charts
CC.DP generate a C control chart (CCP.DAT)
CCC.DP generate a C control chart (CCC.DAT)
CPKPLOT.DP generate a Cpk plot (GEAR.DAT)
CROARKIN.DP generate an exponentially weighted moving average control chart (CROARK5.DAT)
GEAR.DP generate control charts (GEAR.DAT)
PCC.DP generate P control chart (PCC.DAT)
PNCC.DP generate a Pn Control chart (PNCC.DAT)
QCC.DP generate a Quesenberry xbar control chart (RANDN.DAT)
T2CC.DP Hotelling multivariate control chart (T2CC.DAT)
UCC.DP generate a U control chart (UCC.DAT)
XBARCHAR.DP generate an xbar control plot (CCXBAR.DAT)
Dataplot  / Dataplot Programs ]

Experiment Design Dataplot Programs
Experiment Design
2TO7M4.DP generate a 2**(7-4) fractional factorial design
2TO30M21.DP generate a 2**(30-21) fractional factorial design
B.DP generate a block plot (SHEESLE2.DAT)
BATTADD.DP analyze NIST battery additive data (BATTADD.DAT)
BATTADD2.DP analyze NIST battery additive data (BATTADD.DAT)
BLOCPLOT.DP block plot analysis (SHEESLE2.DAT)
BOOTHCOX.DP graphical analysis of supersaturated design (BOOTHCOX.DAT)
BOXAUTO.DP analyze Box/Hunter/Hunter automobile emissions experiment (BOXAUTO.DAT)
BOXAUTO2.DP analyze Box/Hunter/Hunter automobile emissions experiment (BOXAUTO.DAT), calls BOXAUTO3.DP
BOXBIKE2.DP analyze Box/Hunter/Hunter 2**(7-4) bike time data (BOXBIKE2.DAT)
BOXBLOOD.DP analyze Box/Hunter/Hunter blood coagulation time data (BOXBLOOD.DAT)
BOXCAKE.DP analyze Box/Jones 2**5 cake taste data, Taguchi parameter design (BOXCAKE.DAT)
BOXCAKE2.DP analyze Box/Jones 2**3 cake taste data, Taguchi parameter design (BOXCAKE2.DAT)
BOXCAKE3.DP analyze Box/Jones 2**3 cake taste data, Taguchi parameter design (BOXCAKE2.DAT)
BOXCAKE4.DP analyze Box/Jones 2**3 cake taste data, Taguchi parameter design (BOXCAKE2.DAT)
BOXCHEM.DP analyze Box/Hunter/Hunter 2**4 chemical impurity data (BOXCHEM.DAT)
BOXCLEAN.DP analyze Box/Hunter/Hunter 2**(4-1) cleanser data (BOXCLEAN.DAT)
BOXCLOTH.DP analyze Box/Hunter/Hunter cloth wear data (BOXCLOTH.DAT)
BOXDR175.DP analyze a 28-run Plackett-Burman design (BOXDR175.DAT)
BOXFILT.DP analyze Box/Hunter/Hunter 2**(7-4) filtration time data (BOXFILT.DAT)
BOXPENIC.DP analyze Box/Hunter/Hunter penicillin yield data (BOXPENIC.DAT)
BOXREACT.DP analyze Box/Hunter/Hunter 2**5 reactor efficiency data (BOXREACT.DAT)
BOXREAC2.DP analyze Box/Hunter/Hunter 2**(5-1) reactor efficiency data (BOXREAC2.DAT)
BOXSHOES.DP analyze Box/Hunter/Hunter shoe wear data (BOXSHOES.DAT)
BOXSHOE2.DP analyze Box/Hunter/Hunter shoe wear data (BOXSHOES.DAT)
BOXSHOE3.DP analyze Box/Hunter/Hunter shoe wear data (BOXSHOES.DAT)
BOXSPRIN.DP analyze Box & Bisgaard 2**3 defective springs data (BOXSPRIN.DAT)
BOXTOMAT.DP analyze Box/Hunter/Hunter tomato growth data (BOXTOMAT.DAT)
BOXYIELD.DP analyze Box/Hunter/Hunter optimization design chemical yield data (BOXYIELD.DAT)
BOXYIEL2.DP analyze Box/Hunter/Hunter optimization design chemical yield data (BOXYIEL2.DAT)
BOXYIEL3.DP analyze Box/Hunter/Hunter optimization design chemical yield data (BOXYIEL3.DAT)
C.DP generate a block plot (RIPKEN.DAT)
DEXCONTP.DP generate a DEX contour plot (BOXREAC2.DAT)
DEXCUB70.DP generate 70 2**(3-1) design cubes (BOX.DAT)
DEXINTMP.DP generate a DEX interactions matrix plot (BOXREAC2.DAT)
DEXMEANP.DP generate a mean, sd, and Taguchi plot (BOXREAC2.DAT)
DEXOPT.DP perform a graphical analysis of optimizing designs (BOXYIEL2.DAT)
DEXREG.DP perform a graphical analysis of regression designs (BOXSPRAY.DAT)
DEXSCREE.DP perform a graphical analysis of screening designs (BOXREAC2.DAT)
DEXSIM.DP generate an experimental simulation
DEXSURF.DP generate various experiment design surfaces
DEXTITCU.DP generate a 2**(3-1) title page cube (DEXTITCU.DAT)
DEX10STEPANALYSIS_SCOTT_8_16.DP analyze John Henry Scott data via the 10-step analysis, uses (SCOTT_8_16.DAT)
DEX9PLOT.DP generate 9 plots for the analysis of 2-level factorial designs, uses (SPLETT.DAT)
ELECT92.DP block plot analysis of 1992 presidential election (ELECT92.DAT)
ELECT92C.DP determine minimal percentage of the Perot vote that would have gone to Bush for the election to be won by Bush (ELECT92.DAT)
FUNNEL.DP analyze simulated 2**3 funnel data (FUNNEL.DAT)
FUNNEL2.DP analyze simulated 2**3 funnel data (FUNNEL.DAT)
FUNNEL3.DP block plot for 1-factor comparative design (FUNNEL3.DAT)
FUNNEL11.DP dex contour plot of funnel data (FUNNEL11.DAT)
GOLD.DP hardness of dental gold (GOLD.DAT)
GOLD2.DP hardness of dental gold (GOLD.DAT)
HARE.DP test simplex region fill program (SIMPLEXR.DP) (SIMPLEXR.DP)
KRASNY1.DP 2**5 analysis of cigarette ignition data (KRASNY1.DAT)
KRASNY2.DP block plot analysis of cigarette ignition data (KRASNY2.DAT)
LAGERGRE.DP Federal Highway Administration concrete strength mixture, uses SIMPLEX1.DP, SIMPLEX2.DP, and SIMPLEX3.DP
LINUT.DP, LINUT2.DP, LINUT3.DP, LINUT4.DP and LINUT5.DP Ker-Chau Li PHD plots and analysis for Technometrics article (LINUT.DAT)
LIREACT.DP, LIREACT2.DP, LIREACT3.DP and LIREACT4.DP Ker-Chau Li PHD plots and tables for Technometrics article (BOXREACT.DAT)
LISTENB2.DP Ker-Chau Li PHD plots for Technometrics article for Jerry Stenbakken DAC example
MANSFIELD.DP 2**(8-4) semiconductor bond strength (MANSFIELD.DAT)
PALLETT.DP block plot analysis of voice recognition data (PALLETT.DAT)
PUNCH.DP generate a simplex for mixture data (PUNCH.DAT), uses SIMPLEX.DP
PUNCH2.DP generate a simplex for mixture data (PUNCH2.DAT), uses SIMPLEXD.DP
QUINLAN.DP and QUINLAN2.DP Taguchi analysis of noise/shrinkage of speedometer casing data (QUINLAN.DAT)
SHEESLE2.DP block plot analysis of light bulb survival time data (SHEESLE2.DAT)
STENBAKK.DP analysis of 5-bit DAC (Jerry Stenbakken data) (STENBAKK.DAT)
STENBAK2.DP analysis of 5-bit DAC (Jerry Stenbakken data) (STENBAK2.DAT)
WILLIAMS.DP graphical analysis of Williams supersaturated design (WILLIAMS.DAT)
Dataplot  / Dataplot Programs ]

Mathematics Dataplot Programs
Mathematics
BEAM.DP solve an elastic beam differential equation
BLACKBOD.DP generate a representative data set from Planck's black body radiation formula
CHEMMIX.DP solve a system of linear equations to determine a chemical mixture
CIRCLE.DP solve the equation of a circle (matrix cofactor)
CIRCUIT.DP solve a system of linear equations for an electrical circuit problem
DERIVPLO.DP generate a plot of a function and its derivative
DIOPHANTINE.DP solve the Diophante equation using set intersections
FFT1.DP remove high frequency noise from a signal
FFT2.DP convolve/deconvolve a signal
FFT3.DP perform frequency domain smoothing
FFTPLOT.DP generate a fast Fourier transform plot
FILTER.DP assess filter stability by solving for complex roots
LI.DP compute eigenvectors and eigenvalues for Ker-Chau Li Technometrics article
LISSAJOU.DP generate Lissajous trigonometric functions multiplots
OIL.DP maximize oil production via the simplex method
PLOTMAT.DP plot a matrix
PLOTROOT.DP plot out complex roots from a family of functions
POLYROO1.DP solve for the complex roots of a polynomial
POLYROO2.DP solve for the roots of the sum of 20 quintics using polynomial arithmetic
RAIN.DP perform Runge-Kutta solution to a raindrop differential equation
ROOTPLOT.DP generate a plot for extracting roots
SPRINGS.DP determine the eigenvalues of a non-symmetric system
TRIG.DP generate Lissajous trigonometric functions multiplots
Dataplot  / Dataplot Programs ]

Fitting Dataplot Programs
Fitting
ANSCOMBE.DP analyze fits for Anscombe data
BCLINEPL.DP generate a Box-Cox linearity plot (BERGER1.DAT)
BENNETT.DP generate a fit with indicator variables (BENNETT.DAT)
BENNETT1.DP superconductivity modeling (BENNETT6.DAT)
BENNETT6.DP superconductivity modeling (BENNETT6.DAT)
BENNETT7.DP superconductivity modeling (BENNETT6.DAT)
BENNETT8.DP superconductivity modeling (BENNETT6.DAT)
BENNETT9.DP superconductivity modeling (BENNETT6.DAT)
BERGER.DP analyze Alaska pipeline defects data using different transformations (linear regression) (BERGER1.DAT), uses BERGER_SUB.DP
BOETTING.DP
BOETTIN1.DP
non-linear fitting of solderabiluty meniscus (BOETTING.DAT)
BERGER1.DP analyze Alaska pipeline defects data (linear regression) (BERGER1.DAT)
CHWIRUT1.DP analyze NIST ultrasonic claibration data (non-linear fitting) (CHWIRUT1.DAT)
CLARK2.DP Hermite polynomial fit of density of Bose-particle cold gas (CLARK2.DAT)
CLARK3.DP Hermite polynomial fit of density of Bose-particle cold gas (CLARK3.DAT)
CLARK4.DP Hermite polynomial fit of density of Bose-particle cold gas (CLARK3.DAT)
DRAPS518.DP orthogonal distance fit (DRAPS518.DAT)
DRAPS521.DP orthogonal distance fit (DRAPS521.DAT)
FULLODR1.DP orthogonal distance fit (FULLODR1.DAT)
FULLODR2.DP orthogonal distance fit (FULLODR2.DAT)
HABER1.DP non-linear fitting of 2-admissable numbers data (HABER1.DAT)
JONES.DP polynomial fitting of density of water as a function of temperature (JONES.DAT)
LASHMORE.DP fit resistivity data (LASHMORE.DAT)
LEW11.DP non-linear fitting of univariate beam deflection data (LEW11.DAT)
LINREG.DP non-linear fitting of univariate beam deflection data (WAMPLER1.DAT, WAMPLER2.DAT, WAMPLER3.DAT, WAMPLER4.DAT, WAMPLER5.DAT, LONGLEY.DAT and FILIP.DAT)
LP.DP Lp fitting (CHWIRUT1.DAT)
PONTIUS.DP analyze NIST load calibration data (quadratic regression) (PONTIUS.DAT)
NAKATANI.DP non-linear fit of Nakatani data (NAKATAN1.DAT)
NORRIS.DP linear fit (NORRIS.DAT)
NORRIS5.DP convert data into an (X,Y) format for fitting (NORRIS5.DAT)
NORRIS6.DP calibration of ozone detectors (NORRIS6.DAT)
NAKATAN1.DP non-linear fit of Nakatani data (NAKATAN1.DAT)
NAKATAN3.DP non-linear fit of Nakatani data (NAKATAN3.DAT)
PREDPLOT.DP generate a superimposed predicted values plot (CHWIRUT1.DAT)
RESPLOT.DP generate a linear fit residuals plot (SPIEGEL.DAT)
RFSPREAD.DP generate a r-f spread plot (BERGER1.DAT)
RIDGE.DP perform a ridge regression
SCHAUER2.DP linear fit analysis of EPR bone dosimetry data (SCHAUER2.DAT)
SLPLOT.DP generate a spread-location plot (PBF11.DAT)
THURBER.DP non-linear rational function fitting of semi-conductor electron mobility data (THURBER.DAT)
VANGEL32.DP RECIPE tolerance limits analysis of graphite/epoxy tape strength (VANGEL32.DAT)
VANGEL33.DP RECIPE tolerance limits analysis of graphite/epoxy tape strength (VANGEL33.DAT)
VANGEL34.DP RECIPE tolerance limits analysis of graphite/epoxy tape strength (VANGEL34.DAT)
WEIGHTS.DP perform an iteratively re-weighted least squares fit
Dataplot  / Dataplot Programs ]

Distributional Analysis Dataplot Programs
Distributional Analysis
ABER19.DP Weibull plot for censored data (ABER17.DAT)
FULLER2.DP Weibull analysis of airplane glass time to failure (uncensored data) (FULLER2.DAT)
NORMDENS.DP draw normal density with 1, 2, and 3 sigma areas
PDFPLOT.DP generate a plot of a probability density function
WEIBPLOT.DP generate a Weibull plot (ABERNE17.DAT)
WEIBSIM.DP create 10 files containing Weibull random numbers (WEIB1.DAT), WEIB2.DAT, WEIB3.DAT, WEIB4.DAT, WEIB5.DAT, WEIB6.DAT, WEIB7.DAT, WEIB8.DAT, WEIB9.DAT and WEIB10.DAT)
Dataplot  / Dataplot Programs ]

Univariate Dataplot Programs
Univariate
4PLOT.DP generate a 4-plot to test underlying assumptions (GEAR.DAT)
BALLSTIC.DP create a ball and stick Pareto plot
BAYEUNIV.DP Bayesian analysis for univariate location
HIST.DP generate a histogram (SUNSPOT2.DAT)
HIST2.DP generate a presentation-graphic histogram (WORKSTAT.TEX)
LEW.DP generate a 4-plot analysis of beam deflection data (LEW.DAT)
LUTHER.DP analyze Newton's gravitational constant data (LUTHER.DAT) , uses LUTHER_SUB.DP
UNIVARIATE_CLASSICS.DP 4-plot analysis of various univariate data sets, uses 4PLOT_NOARGS.DP
VANGEL31.DP graphite/epoxy tape strength (VANGEL31.DAT)
Dataplot  / Dataplot Programs ]

Two Sample Dataplot Programs
Two Sample
BIHIST.DP
generate a bihistogram (AUTO83.DAT)
QUANPLOT.DP generate an empirical quantile-quantile plot (AUTO83.DAT)
SIGN.DP perform a sign test for paired samples
Dataplot  / Dataplot Programs ]

Interlaboratory/SRM Dataplot Programs
Interlaboratory/SRM
CHARMAP.DP demonstrate use of CHARACTER MAPPING with Youden plots (UGIANSKY.DAT)
CLINE153.DP SRM analysis (CLINE152_SRM1976C_LATTICE_CONSTANTS_2019.DAT), uses 7STEP_UNIVARIATE_ANALYSIS.DP
DASILVA41.DP determine best setting of primary factor (DASILVA40.DAT) , uses DASILVA41MAT.DP, DASILVA41RH.DP, DASILVA41SURF.DP, DASILVA41WET.DP and DASILVACOLOR2.DP
DASILVA141.DP determine if vials are equivalent with respect to location (DASILVA141.DAT)
FLETCHER306.DP interlab consensus value analysis of 4-lab round robin data for secondary calibration suspension material (FLETCHER306.DAT), uses FLETCHER306_SUB.DP
HORLICK1.DP interlab nvlap proficiency analysis (HORLICK1.DAT)
HORLICK4.DP interlab nvlap proficiency analysis (HORLICK4.DAT)
MATTINGL.DP interlab analyis of flow meter calibration (MATTINGL.DAT)
MATTING2.DP interlab analyis of flow meter calibration (MATTINGL.DAT)
MATTING3.DP interlab analyis of flow meter calibration (MATTINGL.DAT)
OAKLEY.DP analysis of Mark Williamson magnetic tape SRM data (OAKLEY.DAT)
RENNEX.DP oxygen in silicon SRM (RENNEX.DAT)
RENNEX7.DP oxygen in silicon SRM (RENNEX.DAT)
SCHILLER.DP between-bottle distributional analysis of SRM particle sizes (SCHILLER.DAT)
UGIANSKY.DP generate Youden plot on fatigue data (UGIANSKY.DAT)
YOUDPLOT.DP generate a Youden plot (UGIANSKY.DAT)
Dataplot  / Dataplot Programs ]

One Factor Dataplot Programs
One Factor
BOXPLOT.DP generate a box plot (AUTO83.DAT)
BOXPLOT2.DP generate a box plot (PBF11.DAT)
DAT2PLOT.DP generate a multi-vertical line plot (GEAR.DAT)
MEANPLOT.DP generate a mean plot (PBF11.DAT)
MORALES.DP graphically analyze isotopic analysis data (MORALES.DAT)
SDPLOT.DP generate a standard deviation plot (PBF11.DAT)
Dataplot  / Dataplot Programs ]

Extreme Value Analysis Dataplot Programs
Extreme Value Analysis
Dataplot  / Dataplot Programs ]

Testing Dataplot Programs
Testing
MAXITEST.DP perform multi-item installation test
MINITEST.DP perform 23-item installation test
TEST.DP test BLOCK PLOT command
TESTBIHI.DP test BIHISTOGRAM command
TESTBLOC.DP test BLOCK PLOT command
TESTBLOCKPLOT_BOXREACTOR_5_32.DP test BLOCK PLOT command BOXREACTOR_5_32.DAT
TESTBLOCKPLOT_FUNNEL_3_12.DP test BLOCK PLOT command FUNNEL_3_12.DAT
TESTBLOCKPLOT_SHEESLEY.DP test BLOCK PLOT command SHEESLEYLIGHTBULB_4_24.DAT
TESTCME.DP and TESTCME2.DP test CME PLOT command
TESTCOLO.DP and TESTCOL2.DP test some color commands
TESTCON1.DP test DEXCONT.DP macro FUNNEL11.DAT
TESTDDS.DP test DDDS command TESTDDS.DAT
TESTDDS1.DP test DDDS command (SIN.DAT)
TESTDDS2.DP test DDDS command on various data sets (SIN.DAT, LEW.DAT, LUTHER.DAT, SUNSPOT2.DAT and HABER1.DAT)
TESTDDS3.DP test DDDS command (HABER1.DAT)
TESTDDS4.DP test DDDS command (SUNSPOT2.DAT)
TESTF.DP and TESTF2.DP test F TEST command
TESTFIT.DP test LINEAR FIT command
TESTHELP.DP test HELP command
TESTHOTB.DP test HOTBAR0.DP and HOTBAR.DP
TESTPPCC.DP test various PROBABILITY PLOT and PPCC PLOT commands
TESTWEIB.DP test WEIBULL PROBABILITY PLOT and WEIBULL PPCC PLOT commands (WEIB1.DAT), WEIB2.DAT, WEIB3.DAT, WEIB4.DAT, WEIB5.DAT, WEIB6.DAT, WEIB7.DAT, WEIB8.DAT, WEIB9.DAT and WEIB10.DAT)
TESTWRIT.DP test creating and writing parameters
TEST6.DP test 6-PLOT command
TEST7.DP and TEST8.DP test BOX-COX LINEARITY PLOT command
Dataplot  / Dataplot Programs ]

Plot Control and Annotations
Plot Control and Annotations
COLORMAP.DP show all (postscript) color settings
PLOTCOLO.DP generate 28 (postscript) color plots
REFPLOT.DP generate prototype reference plot indicating selected plot components
SETCOLOR.DP set typical (postscript) color settings
Dataplot  / Dataplot Programs ]

Multi-Factor (two or more) Analysis
Multi-Factor (two or more) Analysis
ANOVAALL.DP generate ANOVA analysis for several data sets (uses ANOVASUB.DP)
ASQCSAL.DP generate block plot of ASQC salary data (ASQCSAL.DAT)
BATTADD3.DP analysis of battery additive data (BATTADD3.DAT)
GANOVA3.DP generate a graphical ANOVA plot (HAMAKER.DAT)
HAMAKER.DP generate graphical ANOVA plot (HAMAKER.DAT)
HOSPITAL.DP analysis of death rates for D.C. area hospitals (HOSPITAL.DAT)
LEIGH.DP DNA analysis (LEIGHFAC.DAT, LEIGHLAB.DAT and LEIGHP3A.DAT)
LEIGH2.DP DNA analysis (LEIGHFAC.DAT, LEIGHLAB.DAT and LEIGHP3A.DAT), uses LEIGH2SU.DP
LEIGH3.DP DNA analysis (LEIGHFAC.DAT, LEIGHLAB.DAT and LEIGHP3A.DAT), uses LEIGH3SU.DP
LIU.DP analysis of 5-bit DAC (Jerry Stenbakken data) (LIU.DAT)
MANDEL1.DP two-way analysis of poppy plants in oats data (SNED326.DAT)
MANDEL2.DP two-way analysis of world telephones (TUKEY433.DAT)
MANDEL3.DP two-way analysis of chimp sign times (ATKINSON.DAT)
MPC262AA.DP, MPC262A.DP, MPC262BB.DP and MPC262B.DP plot repeatability standard deviations (MPC262.DAT)
MPC262C.DP plot response for different days and wafers (MPC262C.DAT)
MPC262D.DP and MPC262DD.DP and plot biases for probes and wafers (MPC262D.DAT)
MPC264C.DP and MPC262D.DP and plot control chart for probes and wafers (MPC263.DAT)
MPC266A.DP compute repeatability standard deviations for probe 2362 (run 1), uses (MPC262.DAT)
MPC266B.DP compute repeatability standard deviations for probe 2362 (run 2), uses (MPC262.DAT)
MPC266C.DP compute level-2 standard deviations and df for 5 wafers - run 1, uses (MPC262.DAT)
MPC266D.DP compute level-2 standard deviations and df for 5 wafers - run 2, uses (MPC262.DAT)
MPC266E.DP compute pooled level-2 standard deviations and df across wafers and runs, uses (MPC262.DAT)
MPC266F.DP compute level-3 standard deviations, level-3 pooled standard deviations and df across wafers and runs, uses (MPC262.DAT)
MPC266H.DP compute differences from the wafer average for each probe, uses (MPC262.DAT)
MPC266I.DP compute biases for runs 1 and 2 by wafers, uses (MPC262.DAT)
MPC266J.DP compute correction for probe #236 with standard deviation and standard deviation of correction (MPC262.DAT)
MPC266K.DP plot 2 configurations for run 1 and run 2, uses (MPC262.DAT)
MPC266L.DP print average of two configurations and corresponding t-statistic, uses (MPC262.DAT)
MPC266M.DP print uncertainty, effective degrees of freedom, t-value and expanded uncertainty, uses (MPC262.DAT)
OLYMPICS.DP block plot analysis of 1994 Olympics final ladies ice skating scoring (OLYMPICS.DAT)
ROSSITER.DP block plot analysis (ROSSIT16.DAT)
ROSSIT16.DP block plot analysis (ROSSIT16.DAT)
SARKAR71.DP automated cell counting (SARKAR71.DAT), uses SARKAR71_SUB.DP
SARKAR80.DP automated cell counting (SARKAR71.DAT), uses SARKAR80_SUB.DP, WRITE_CONDITION_NAMES_UNDER_HORIZONTAL_AXIS.DP and WRITE_CONDITIONS_BOTTOM.DP
SIMON.DP, SIMON2.DP and SIMON3.DP FHA concrete data scoring (SIMON.DAT)
TUMOR.DP simulated tumor data (TUMOR.DAT)
WRIGHT6.DP demonstrate character tabulation plot (WRIGHT11.DAT), uses WRIGLEGE.DP, WRIGLEVE.DP, WRIGMARG.DP, WRIGOPTI.DP and WRIGPLCN.DP
Dataplot  / Dataplot Programs ]

Input/Output
Input/Output
CORONA.DP create Python script to read an Excel file (assumes Python and Pandas package already installed) (CORONA_VIRUS_COUNTRY_RANKINGS_042920.XLSX)
Dataplot  / Dataplot Programs ]

Example Programs and Shortcut Macros This section contains a set of programs that run sample cases. It also contains some shortcut macros.

This section is not organized alphabetically as the other sections are. Rather, this is organized by the order of the example programs.

Example Programs and Shortcut Macros
dpmenu.dp this macro prints the list of available programs
  General
0.1 this macro generates a histogram of the Wright brothers pressure data, uses wright8.dp and wright11.dat and
0.2 this macro generates a scatter plot of the Wright brothers up-pressure data, uses wright9.dp and wright11.dat and
0.3 execute 23 selected dataplot test problems, minitest_menu.dp
0.4 view an Excel file with 2-level designs, uses 2_level_designs.xlsx
0.5 view an Excel file with random permutations random_permutations.xlsx
0.6 view an Excel file with binomial acceptance sampling plans binomial_acceptance_sampling.xlsx
  Univariate
1.1 analyze H. S. Lew beam deflection data lew_menu.dp and LEW.DAT
1.2 analyze transmittance of glass filter data mavro.dp and MAVRO.DAT and
1.3 analyze Bob Zarr heat flow meter data, uses zarr.dp and ZARR.DAT and
1.4 4-plot analysis of classic univariate data sets univariate_classics.dp
1.5 analyze thunderstorm wind velocties via the 4-plot, probability plots and ppcc plots simiu.dp and SIMIU.DAT
1.6 this macro generates a certified values for alumina plate value cline153.dp, 7STEP_UNIVARIATE_ANALYSIS.DP and cline153.dat
1.7 this macro analyzes funnel transversal time, uses funnel_0_10.dp, 4PLOT_NOARGS.DP and funnel_0_10.dat
1.8 analyze funnel transversal time from 2020 DEX class (table 2) with input via the clipboard (copied from funnel_0_10.dat) 2020 Boulder DEX class, uses funnel_0_10_clipboard.dp
1.9 generate 4-plots for each of six tables from 2020 Boulder DEX class funnel_1_60_4plot.dp, 4PLOT_NOARGS.DP and funnel_1_60_matrix.dat
  Interlaboratory Consensus Value
2.1 generate a consensus value plot for the classic Youden paper thickness experiment youden_1_96.dp and youden_1962_paper_thickness.dat
2.2 generate a consensus value plot for funnel transversal time for the 9 tables of the 2019 DEX class, uses funnel_1_90.dp and funnel_1_90_matrix.dat
2.3 determine if 8 vials are statistically equivalent, uses dasilva141_menu.dp and dasilva141.dat
2.4 determine if 20 vials are statistically equivalent, uses dasilva143.dp and dasilva143.dat
2.5 analysis of diameter data from approximately 18 international labs (SRM 8631b) fletcher446.dp and fletcher446.dat
2.6 consensus value analysis of cantilever stiffness for 7 cantilevers (RM 3461b) gates12.dp and gates12.dat
2.7 consensus value plot for funnel transversal time for the six tables of the Boulder 2020 DEX Class funnel_1_60.dp and funnel_1_60_matrix.dat
2.8 consensus value plot for funnel transversal time for the six tables of the Boulder 2020 DEX Class with the data taken from the clipboard (copied from funnel_1_60_matrix.dat), uses funnel_1_60_clipboard.dp
2.9 determine if 20 vials are statistically equivalent, uses dasilva192.dp, SRM_9STEP_ANALYSIS.DP and dasilva175_coulter_yeast_all_seasons.dat.dat
  Comparative
3.1 analyze the 1969 draft lottery (show drift), uses draft69.dp and DRAFT69.DAT
3.2 analyze the DEX class funnel 2 experiment (does ball have an effect?), uses funnel_1_6.dp and funnel_1_6.dat
3.3 perform a 2-way table analysis of Wright brothers up-pressure data, uses wright11_menu.dp and WRIGHT11.DAT
3.4 generate block plot for Box, Hunter and Hunter boys shoes example, uses boxshoes_2_20_block_plot.dp and boxshoes_2_20.dat
3.5 generate block plot for DEX class funnel example, uses funnel_3_12_block_plot.dp and funnel_3_12.dat
3.6 generate block plot for Sheesley light bulb weld defect rate, uses sheesley_4_24_block_plot.dp and sheesley_4_24.dat
3.7 generate block plot for Box, Hunter and Hunter chemical reactor example, uses boxreactor_5_32_block_plot.dp and boxreactor_5_32.dat
3.8 generate block plot for DEX class funnel example with data being read from clipboard (e.g., copied from funnel_3_12.dat), uses funnel_3_12_block_plot_clipboard.dp
3.9 generate block plot for corona virus data, uses corona_virus_2_n_block_plot.dp and corona_virus_2_n_matrix.dat
3.10 generate block plot for corona virus data with data being read from clipboard, uses corona_virus_2_n_block_plot_clipboard.dp
  Sensitivity Analysis
4.1 analyze Box and Bisgaard defective springs example, uses boxsprings_3_8.dp and boxsprings_3_8.dat
4.2 analyze funnel traversal time (k=3, n=8) via 10-step analysis, uses funnel_3_8.dp and funnel_3_8.dat
4.3 analyze Ray Bowen dental composite adhesion patent data (k=3, n=8) via 10-step analysis, uses bowen_3_8.dp and bowen_3_8.dat
4.4 analyze Box, Hunter and Hunter chemical conversion example (k=4, n=16) via 10-step analysis, uses boxconverter_4_16.dp and boxconverter_4_16.dat
4.5 analyze Box, Hunter and Hunter household cleanser stability example (k=4, n=8) via 10-step analysis, uses boxcleanser_4_8.dp and boxcleanser_4_8.dat
4.6 analyze John Krasny (NIST) cigarette flammability (k=5, n=32) via 10-step analysis, uses krasny_5_32.dp and krasny_5_32.dat
4.7 analyze Box and Bisgaard chemical reactor yield (k=5, n=32) via 10-step analysis, uses boxreactor_5_32.dp and boxreactor_5_32.dat
4.8 analyze Box & Bisgaard chemical reactor yield (k=5, n=16) via 10-step analysis, uses boxreactor_5_16.dp and boxreactor_5_16.dat
4.9 analyze additive manufacturing post-laser scan peak temperature (k=5, n=8) via 10-step analysis, uses boxreactor_5_8.dp and boxreactor_5_8.dat
4.10 analyze Apache/Linux processing time (k=5, n=16) via 10-step analysis, uses tang_5_16.dp and tang_5_16.dat
4.11 analyze NIST guarded hot plate thermal conductivity data (k=6, n=16) via 10-step analysis, uses zarr_6_16.dp and zarr_6_16.dat
4.12 sensitivity analysis of Josh Kneifel's NIST net-zero house yearly energy consumption (k=7, n=128) via 10-step analysis, uses kneifel_7_128.dp and kneifel_7_128.dat
4.13 sensitivity analysis of Peter Fontana's trial data (k=7, n=128) via 10-step analysis, uses fontana_7_128.dp and fontana_7_128.dat
4.14 sensitivity analysis of MRI RF coil design (k=7, n=16) via 10-step analysis, uses fong_7_16.dp and fong_7_16.dat
4.15 analyze John Henry Scott HRTEM SiO2 layer thickness data (k=8, n=16) via 10-step analysis, uses scott_8_16.dp and scott_8_16.dat
4.16 identify source for micro-level lab Pu contamination (k=8, n=16) via 10-step analysis, uses inn_8_16.dp and inn_8_16.dat
4.17 sensitivity analysis of factors affecting cell growth of E. coli engineered for Lycopene experiment (k=9, n=64) via 10-step analysis, uses hecht_9_64.dp and hecht_9_64.dat
4.18 analyze additive manufacturing post-laser scan peak temperature (k=10, n=16) via 10-step analysis, uses ma_10_16.dp and ma_10_16.dat
4.19 analyze World Trade Center core column damage (k=13, n=16) via 10-step analysis, uses wtc_13_16.dp and wtc_13_16.dat
4.20 identify factors affecting ML methodology test problem (k=15, n=256) via 10-step analysis, uses fontana_15_256.dp and fontana_15_256.dat
4.21 analyze TCP internet congestion control (k=20, n=256) via 10-step analysis, uses mills_20_256.dp, mills301responses3a.dat and mills301factors.dat
4.22 perform 10-step sensitivity analysis for DEX class funnel example with data being read from clipboard, uses funnel_k_n_clipboard.dp
  Modeling/Regression
5.1 transformations and fits for Alaska pipeline data, uses berger.dp and BERGER.DAT
5.2 regression modeling of 4-lab round robin data, uses fletcher306.dp, fletcher306_sub.dp and FLETCHER306.DAT
  Optimization
6.1 perform a 2-way table analysis of Wright up-pressure data, uses wright11_menu.dp and WRIGHT11.DAT
6.2 analyze the long file (11 conditions x 70 protocols = 7,700 records), uses sarkar71_menu.dp, SARKAR71_SUB.DP, sarkar71_allresponses_040219.dat and sarkar71_y8_errorviability_summary_table.xlsx
6.3 optimization analysis of Box, Hunter and Hunter chemical yield data (stage 1 only), uses boxchemyield1.dp, dexbivariatecontourplot.dp and boxchemyield1.dat
6.4 optimization analysis of Box, Hunter and Hunter chemical yield data (stage 2 only), uses boxchemyield2.dp, dexbivariatecontourplot.dp and boxchemyield2.dat
6.5 optimization analysis of Box, Hunter and Hunter chemical yield data (stages 2 and 3), uses boxchemyield3.dp, dexbivariatecontourplot.dp and boxchemyield3.dat
  Classification
7.1 classification analysis for Fisher iris data, uses classification_iris.dp, classification_analysis.dp and IRIS.DAT
7.2 classification analysis for Flury Swiss note data, uses classification_flury.dp, classification_analysis.dp and FLURY5.DAT
7.3 analyze the long file (11 conditions x 70 protocols = 7,700 records) and do a classification analysis using a discrimination index, uses sarkar80_men.dp, SARKAR80_SUB.DP and sarkar71_allresponses_040219.dat and
  Clustering
8.1 correlation analysis of 22 standardized responses for Kevin Mills Abilene network, uses mills47b.dp, corrmatrix.dp, mills28upperleft.dp and mills28responses2.dat
  Time Series
9.1 analyze H. S. Lew beam deflection data lew_timeseries_menu.dp, LEW_TIMESERIES_SUB.DP and LEW.DAT
9.2 analyze Newton's gravitational constant data luther_menu.dp, LUTHER_SUB.DP and LUTHER.DAT
9.3 analyze Ken Rubinson's spectometry data rubinson23_menu.dp, RUBINSON23_SUB.DP and RUBINSON21.DAT
  Utility Macros (note that these are not generally called directly)
copy_and_display_3_files.dp for a given example ID use the extracted data, code and output file name strings, copy the 3 files over to the standardized files and show the files
define_files.dp define standardized input, data and output files
device2open.dp device 2 open for Postscript output
dp_question_mark_examples.txt print message demonstrating use of "?", "??", "???" and "????" to access Dataplot help
fileout.dp define the file name root (no extension) to which dataplot output will be directed
go10.dp run the 10-step analysis for a cvs data file
go.dp display top-level structure and questions dealing with 5 diamond steps or 8 problem categories, uses parse_go.dp, top_comparative.dp, top_sensitivity.dp and top_univariate.dp (this is only partially implemented
post_note.dp print a message after one of the example programs above is executed
  Shortcuts
ccvp.dp execute a "call clipboard_consensus_value_plot.dp" command to generate a consensus value plot from data in the clipboard, uses clipboard_consensus_value_plot.dp
ex.dp execute a "list new windows examples.txt" command, uses examples.txt
intro.txt print an introductory page
l.dp given an example id, print a message showing how to edit and run/rerun the example, typical sequence (for example 1.1)
    1.1
    l.dp
    vcode.dp
    x.dp
uses parse.dp
links.txt execute a "list new window links.txt" command to show shortcut commands for bringing up various web sites, uses links.txt
p.dp execute a "list new window portal.txt" command to show shortcut commands for bringing up various web sites, uses portal.txt (currently portal.txt contains the same information as links.txt)
vcb.dp view the contents of the clipboard
vcode.dp view the contents of the current standardized code file (examples.dp)
vdata.dp view the contents of the current standardized data file (examples.dat)
vex.dp execute a "list new window examples.txt" command
vout.dp view the contents of the current standardized graphics output file (examples.pdf)
vp.dp execute a "PSVIEW" command to view the most recent plot in a Postscript viewer
vx.dp extract the example ID (from clipboard or from first argument), copy the examples 3 local files to standardized names and then execute the macro specified in the example ID
w0.dp list the Dataplot sign-on page
w1.dp list a Dataplot summary text file
w2.dp bring up Dataplot web site
w3.dp bring up the graphics gallery web page in the NIST/SEMATECH e-Handbook
w4.dp bring up the Dataplot graphics gallery web page
w5.dp bring up the Daplot SP 667 document (sp667.pdf)
w6.dp bring up the Daplot Common Commands document (dpsnapsh.pdf)
w7.dp bring up the NIST/SEMATECH e-Handbook web page
w8.dp list Excel file with DEX 2-level designs
w9.dp bring up the DEX 10-step web page (currently only accessible from NIST network)
w10.dp bring up the web site for performing various ASTM/ISO analyses (currently only accessible from NIST network), can also use astm.dp
w11.dp bring up the NIST Uncertainty Machine web page, can also use nist_uncertainty_machine.dp or num.dp
w12.dp bring up the NIST Consensus Builder web page
w13.dp bring up the NIST Randomness Beacon web page
w14.dp bring up the NIST Random Number Generater test suite web page
w15.dp bring up the NIST SRM web page
w16.dp bring up the NIST Web Image Procesing Pipelines web page
w17.dp bring up the NIST Rave/Cave high end visualization web page
x.dp execute a "call examples.dp" command, xex.dp can also be used, if an argument is given that will be used instead of "examples.dp"
xcb.dp execute a "call clipboard" command
Dataplot  / Dataplot Programs ]

Date created: 06/05/2001
Last updated: 07/30/2023

Please email comments on this WWW page to alan.heckert@nist.gov.