libpgplotxx.a (C++ interface to PGPLOT)

◆ extendf()

Trange& pgplot::Trange::extendf ( const float &  f)
inline

extend at both ends by a fraction of total range

Definition at line 60 of file structs.h.

References abs(), and max.

60  {
61  float d=f*this->abs();
62  min -= d;
63  max += d;
64  return(*this);
65  }
float abs() const
return total range
Definition: structs.h:86
float min
range [min....max]
Definition: structs.h:44
float max
Definition: structs.h:44
Here is the call graph for this function: