C-PLOT

Scientific Graphics and Data Analysis

3.2. - gd get data



gd
gd mode [filename] [+skip] [=total] [&] [@]
or
gd . [+skip] [=total] [&] [@]
Using get data and its various modes, you can enter data points from the keyboard, read data points from ASCII files, modify points in memory using the interactive editor, digitize points from the pen plotter or perform one of several other data manipulations. Up to 65,536 points can be obtained, although mode 7 will only manipulate the points resident in memory. The number of in-memory points is user configurable in the site-initialization file (see Appendix A). Also, modes 11, 12 and 14 allow an unlimited number of points to be plotted.

If no arguments are entered with the command, you will be prompted with a list of the 15 modes for generating or altering data. When appropriate, you also will be prompted for a file name.

If a file name is specified and it is not in the current directory, C-PLOT will look for the file in the directory specified by the environment variable, CPLOT_GD_DIR . That directory can also be set with set gd_dir (see Chapter 6). CPLOT_GD_DIR may contain a colon-separated list of directories, in which case C-PLOT will look for the file in each directory in turn.