/* Plots horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i)) */

#include "plplot.h"

void plerrx(n,xmin,xmax,y)
int n;
float xmin[], xmax[], y[];
{
      int i, level;

      glev(&level);
      if (level < 3) fatal("Please set up window before calling PLERRX.");
      for (i=0;i<n;i++)
        plerx1(xmin[i],xmax[i],y[i]);
}
