home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource3 / 121_01 / plot.doc < prev    next >
Encoding:
Text File  |  1985-08-21  |  2.0 KB  |  68 lines

  1.  
  2.  
  3.      PLOT (1)                  BDS C Users' Group                  PLOT (1)
  4.  
  5.  
  6.  
  7.  
  8.      NAME   
  9.      NAME 
  10.           plot - a package to use the dot-matrix abilities of the 
  11.           Epson MX-80 line of printers 
  12.  
  13.  
  14.      SYNOPSIS   
  15.      SYNOPSIS 
  16.           plot                              
  17.           plot [<infile>|-] [<outfile>|-] 
  18.  
  19.  
  20.      DESCRIPTION   
  21.      DESCRIPTION 
  22.           ____                                                        
  23.           Plot consists of a simple (demonstration) main() function 
  24.           which drives some of the functions of the general-purpose 
  25.           plotting package that is also contained within this file.  
  26.           Main() reads in triplets of numbers from the file argv[1] 
  27.           (or STDIN if argv[1] is `-' or missing) and plots them on 
  28.           the file argv[2] (or STDLST if argv[2] is `-' or missing).  
  29.           Each number triplet consists of x-coordinate, y-coordinate, 
  30.           and a pen indicator (0=up,1=down).  The pen indicator may 
  31.           also have the special values 2 (print the text string which 
  32.           follows) and 9 (end the current plot and start a new one).  
  33.           If there is no pen indicator, it is assumed to be down, 
  34.           except for the first line of input.  A blank line terminates 
  35.           input.  
  36.           The file or STDLST is in a format for an Epson MX-80 with 
  37.           Graftrax to plot these points via the graphics modes.  
  38.  
  39.  
  40.      CAVEATS   
  41.      CAVEATS 
  42.           This program has not been tested by the librarian, due to 
  43.           lack of the appropriate hardware.  No bug reports have been 
  44.           received.  
  45.  
  46.  
  47.      EXAMPLES   
  48.      EXAMPLES 
  49.           plot plot.dat     plots the data in plot.dat on the system printer
  50.  
  51.  
  52.      FILES   
  53.      FILES 
  54.           plot.dat,plot.h 
  55.  
  56.  
  57.      NOTES   
  58.      NOTES 
  59.           Requires local.h and plot.h for compile.  
  60.           Requires local.c for link.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.                                       -1-
  84.  
  85.  
  86. e pen indicator may 
  87.