home *** CD-ROM | disk | FTP | other *** search
- /* Plots single precision array y against x for n points using */
- /* ASCII code "code" */
-
- #include "plplot.h"
-
- void plpoin(n,x,y,code)
- int n, code;
- float x[],y[];
- {
- int i;
-
- int level;
- glev(&level);
- if (level < 3) fatal("Please set up window before calling PLPOIN.");
- if (code < 0 || code > 127) fatal("Invalid code in PLPOIN.");
-
- for(i=0; i<n; i++)
- plpoi1(x[i],y[i],code);
- }
-