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

  1. /* Plots horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i)) */
  2.  
  3. #include "plplot.h"
  4.  
  5. void plerrx(n,xmin,xmax,y)
  6. PLINT n;
  7. PLFLT *xmin, *xmax, *y;
  8. {
  9.       PLINT level;
  10.       short i;
  11.  
  12.       glev(&level);
  13.       if (level < 3) plexit("Please set up window before calling plerrx.");
  14.       for (i=0;i<n;i++)
  15.         plerx1(xmin[i],xmax[i],y[i]);
  16. }
  17.