libpgplotxx.a (C++ interface to PGPLOT)

◆ shrink()

Trange& pgplot::Trange::shrink ( const Trange range)
inline

shrink this range if argument range is smaller

Definition at line 67 of file structs.h.

References max, and min.

67  {
68  min=(min > range.min ? min : range.min);
69  max=(max < range.max ? max : range.max);
70  return(*this);
71  }
float min
range [min....max]
Definition: structs.h:44
float max
Definition: structs.h:44