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

  1. /* Plots single precision array y against x for n points using */
  2. /* Hershey symbol "code" */
  3.  
  4. #include "plplot.h"
  5.  
  6. void plsym(n,x,y,code)
  7. PLINT n, code;
  8. PLFLT x[],y[];
  9. {
  10.       short int i;
  11.       PLINT level;
  12.  
  13.       glev(&level);
  14.       if (level < 3) plexit("Please set up window before calling plsym.");
  15.       if (code < 0) plexit("Invalid code in plsym.");
  16.  
  17.       for (i=0; i<n; i++)
  18.         plsym1(x[i],y[i],code);
  19. }
  20.