libpgplotxx.a (C++ interface to PGPLOT)

◆ Tpanel() [2/3]

pgplot::Tpanel::Tpanel ( const Tpanel ref,
const Trect win,
const Trect tvp = Trect(0.,1.,0.,1.),
const Trect vp = Trect(0.1,0.9,0.1,0.9) 
)
inline

constructor

Parameters
refreference panel. Take all values relative to the total viewport of this reference panel.
winworld coordinates
vpviewport relative to tvp
tvperase-area on vire surface

Definition at line 172 of file xpgplotxx.h.

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

175  :
176  Mvp(ref.Mtvp), Mtvp(ref.Mtvp), Mwin(win)
177  { Mtvp.shrinkf(tvp); Mvp=Mtvp; setvp(vp); }
Trect Mwin
world coordinates
Definition: xpgplotxx.h:227
Trect Mtvp
total viewport including labels
Definition: xpgplotxx.h:225
Tpanel & setvp(const Trect &vp)
set viewport relative to total viewport
Definition: xpgplotxx.h:179
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: