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.
- 3.2.1. - Get-data options
3.2.2. - File format; specifying columns
3.2.3. - Comments in data files
3.2.4. - Modes 1 & 8: Entering data from keyboard
3.2.5. - Modes 2 & 3: Reading data
3.2.6. - Modes 4 & 5: Break lines around points
3.2.7. - Mode 6: Reuse current data points
3.2.8. - Mode 7: Modify points
3.2.9. - Point editing commands
3.2.10. - PseudoGraphics interactive point editing
3.2.11. - Mode 9: Digitize from pen plotter
3.2.12. - Mode 10: Switch x and y
3.2.13. - Modes 11 & 12: Read unlimited data from files
3.2.14. - Modes 13 & 14: Read data from binary files
3.2.15. - Mode 15: Erase current data
3.2.16. - Options
+
Dskip
, =
Dtotal
, &
, .
and @