libpgplotxx.a (C++ interface to PGPLOT)

◆ rect() [2/2]

basic_device& pgplot::basic_device::rect ( const Trect rec)
inlineinherited

plot rectangle (cf. poly)

Definition at line 375 of file basicdevice.h.

References pgplot::Trange::max, pgplot::Trange::min, pgplot::basic_device::select(), pgplot::Trect::x, and pgplot::Trect::y.

376  {
377  this->select();
378  cpgrect(rec.x.min, rec.x.max, rec.y.min, rec.y.max);
379  return(*this);
380  }
Here is the call graph for this function: