/* Plots single precision array y against x for n points using */
/* Hershey symbol "code" */

#include "plplot.h"

void plsym(n,x,y,code)
PLINT n, code;
PLFLT x[],y[];
{
      short int i;
      PLINT level;

      glev(&level);
      if (level < 3) plexit("Please set up window before calling plsym.");
      if (code < 0) plexit("Invalid code in plsym.");

      for (i=0; i<n; i++)
        plsym1(x[i],y[i],code);
}
