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

  1. #include "plplot.h"
  2.  
  3. void plsmin(def,scale)
  4. PLFLT def, scale;
  5. {
  6.     PLFLT defalt, ht;
  7.  
  8.     if (def !=  0.0)
  9.        smin(def,(PLFLT)(scale*def));
  10.     else {
  11.        gmin(&defalt,&ht);
  12.        smin(defalt,(PLFLT)(scale*defalt));
  13.     }
  14. }
  15.