/* Gets subpage boundaries in absolute coordinates (mm from bottom */
/* left-hand corner of page) */

#include "plplot.h"

void plgspa(xmin,xmax,ymin,ymax)
float *xmin, *xmax, *ymin, *ymax;
{
      float spdxmi, spdxma, spdymi, spdyma;

      int level;

      glev(&level);
      if (level < 1) fatal("Please call PLSTAR before PLGSPA.");
      gspd(&spdxmi,&spdxma,&spdymi,&spdyma);
      *xmin = dcmmx(spdxmi);
      *xmax = dcmmx(spdxma);
      *ymin = dcmmy(spdymi);
      *ymax = dcmmy(spdyma);
}
