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 / plsym.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-23  |  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.