home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 344b.lha / plplot_v2.6 / src / plline.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-27  |  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.