home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d3xx / d340 / plplot.lha / PlPlot / plplot.lzh / plplot / src / plsmin.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-23  |  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.