libpgplotxx.a (C++ interface to PGPLOT)

◆ shrinkf()

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

fractional shrink/extend

Definition at line 73 of file structs.h.

References fullrange(), max, and min.

Referenced by pgplot::Trect::shrinkf().

73  {
74  float ar=this->fullrange();
75  max=min+ar*range.max;
76  min=min+ar*range.min;
77  return(*this);
78  }
float fullrange() const
return absolute range
Definition: structs.h:91
float min
range [min....max]
Definition: structs.h:44
float max
Definition: structs.h:44
Here is the call graph for this function:
Here is the caller graph for this function: