home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_c / plplot.lzh / PLPLOT / PLPLOT.LZH / plplot / src / plline.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-23  |  261 b   |  15 lines

  1. #include "plplot.h"
  2.  
  3. void plline(n,x,y)
  4. PLINT n;
  5. PLFLT *x, *y;
  6. {
  7.       PLINT i, level;
  8.  
  9.       glev(&level);
  10.       if (level<3) plexit("Please set up window before calling plline.");
  11.       movwor(x[0],y[0]);
  12.       for(i=1; i<n; i++)
  13.         drawor(x[i],y[i]);
  14. }
  15.