Name: GRGFIL Purpose: find data file Category: GRAPHICS File: pgplot.src Author: T.J. Pearson Use: see description below. Description: SUBROUTINE GRGFIL(TYPE, NAME) CHARACTER*(*) TYPE, NAME This routine encsapsulates the algorithm for finding the PGPLOT run-time data files. 1. The binary font file: try the following in order: file specified by PGPLOT_FONT file "grfont.dat" in directory specified by PGPLOT_DIR (with or without '/' appended) file "grfont.dat" in directory /usr/local/pgplot/ 2. The color-name database: try the following in order: file specified by PGPLOT_RGB file "rgb.txt" in directory specified by PGPLOT_DIR (with or without '/' appended) file "rgb.txt" in directory /usr/local/pgplot/ Arguments: TYPE (input) : either 'FONT' or 'RGB' to request the corresponding file. NAME (output) : receives the file name. Updates: Oct 16, 1998: JPT automatically extracted from source.