home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_c / plplot.lzh / PLPLOT / PLPLOT.LZH / plplot / src / plfont.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-23  |  313 b   |  16 lines

  1. #include "plplot.h"
  2.  
  3. void plfont(ifont)
  4. PLINT ifont;
  5. {
  6.       PLINT ifnt,icol;
  7.       PLINT level;
  8.  
  9.       glev(&level);
  10.       if (level < 1) plexit("Please call plstar before calling plfont.");
  11.  
  12.       if (ifont < 1 || ifont > 4) plexit("Invalid font in plfont.");
  13.       gatt(&ifnt,&icol);
  14.       satt(ifont,icol);
  15. }
  16.