libpgplotxx.a (C++ interface to PGPLOT)

◆ setvp()

Tpanel& pgplot::Tpanel::setvp ( const Trect vp)
inline

set viewport relative to total viewport

Definition at line 179 of file xpgplotxx.h.

References Mtvp, Mvp, and pgplot::Trect::shrinkf().

Referenced by pgplot::Ttiledpanels::setup(), and Tpanel().

180  { Mvp=Mtvp; Mvp.shrinkf(vp); return(*this); }
Trect Mtvp
total viewport including labels
Definition: xpgplotxx.h:225
Trect & shrinkf(const Trect &rect)
fractional shrink/expand
Definition: structs.h:169
Trect Mvp
view port for graph
Definition: xpgplotxx.h:223
Here is the call graph for this function:
Here is the caller graph for this function: