29 #ifndef CASA_PGPLOTTER_H 30 #define CASA_PGPLOTTER_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/System/PGPlotterInterface.h> 34 #include <casacore/casa/Utilities/CountedPtr.h> 39 template<
class T>
class Vector;
110 uInt mincolors=2,
uInt maxcolors=100,
129 uInt mincolors=2,
uInt maxcolors=100,
261 virtual void scf(
Int font);
void detach()
Detach from the object.
virtual void cont(const Matrix< Float > &a, const Vector< Float > &c, Bool nc, const Vector< Float > &tr)
virtual void pixl(const Matrix< Int > &ia, Float x1, Float x2, Float y1, Float y2)
virtual void scf(Int font)
virtual Vector< Float > qcr(Int ci)
virtual String qinf(const String &item)
static PGPlotter create(const String &device, uInt mincolors=2, uInt maxcolors=100, uInt sizex=600, uInt sizey=450)
Create a PGPlotter object using the current create function.
virtual void shs(Float angle, Float sepn, Float phase)
virtual void errx(const Vector< Float > &x1, const Vector< Float > &x2, const Vector< Float > &y, Float t)
virtual void vect(const Matrix< Float > &a, const Matrix< Float > &b, Float c, Int nc, const Vector< Float > &tr, Float blank)
virtual void subp(Int nxsub, Int nysub)
virtual void poly(const Vector< Float > &xpts, const Vector< Float > &ypts)
virtual void swin(Float x1, Float x2, Float y1, Float y2)
virtual void message(const String &text)
This is not a standard PGPLOT command.
virtual void scir(Int icilo, Int icihi)
virtual void env(Float xmin, Float xmax, Float ymin, Float ymax, Int just, Int axis)
TableExprNode phase(const TableExprNode &node)
The phase (i.e.
virtual Record curs(Float x, Float y)
This is an emulated standard PGPLOT command.
virtual void shls(Int ci, Float ch, Float cl, Float cs)
virtual Vector< Float > qvp(Int units)
virtual void pnts(const Vector< Float > &x, const Vector< Float > &y, const Vector< Int > symbol)
PGPlotter()
The default constructor does not attach to any plotter, that is isAttached() returns False...
virtual void sitf(Int itf)
static CreateFunction * setCreateFunction(CreateFunction *, Bool override=True)
Set the create function.
virtual void mtxt(const String &side, Float disp, Float coord, Float fjust, const String &text)
virtual void conl(const Matrix< Float > &a, Float c, const Vector< Float > &tr, const String &label, Int intval, Int minint)
Abstract base class for PGPLOT style plotting.
virtual void box(const String &xopt, Float xtick, Int nxsub, const String &yopt, Float ytick, Int nysub)
virtual void ptxt(Float x, Float y, Float angle, Float fjust, const String &text)
virtual Vector< Float > qpos()
virtual void wnad(Float x1, Float x2, Float y1, Float y2)
static CreateFunction * creator_p
virtual void move(Float x, Float y)
virtual Float rnd(Float x, Int nsub)
virtual void panl(Int ix, Int iy)
virtual void text(Float x, Float y, const String &text)
virtual void circ(Float xcent, Float ycent, Float radius)
virtual String numb(Int mm, Int pp, Int form)
virtual void draw(Float x, Float y)
virtual Vector< Float > len(Int units, const String &string)
virtual Bool isAttached() const
True if it is OK to plot to this object.
virtual void scr(Int ci, Float cr, Float cg, Float cb)
virtual void hi2d(const Matrix< Float > &data, const Vector< Float > &x, Int ioff, Float bias, Bool center, const Vector< Float > &ylims)
Referenced counted pointer for constant data.
virtual void rect(Float x1, Float x2, Float y1, Float y2)
virtual void svp(Float xleft, Float xright, Float ybot, Float ytop)
virtual ~PGPlotter()
If this is the last reference, close the plot.
virtual Vector< Int > qcol()
virtual void wedg(const String &side, Float disp, Float width, Float fg, Float bg, const String &label)
virtual void erry(const Vector< Float > &x, const Vector< Float > &y1, const Vector< Float > &y2, Float t)
virtual void sch(Float size)
virtual void errb(Int dir, const Vector< Float > &x, const Vector< Float > &y, const Vector< Float > &e, Float t)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void line(const Vector< Float > &xpts, const Vector< Float > &ypts)
virtual void cons(const Matrix< Float > &a, const Vector< Float > &c, const Vector< Float > &tr)
virtual void pt(const Vector< Float > &xpts, const Vector< Float > &ypts, Int symbol)
virtual Vector< Float > qah()
virtual void vsiz(Float xleft, Float xright, Float ybot, Float ytop)
virtual Vector< Float > qtxt(Float x, Float y, Float angle, Float fjust, const String &text)
virtual void conb(const Matrix< Float > &a, const Vector< Float > &c, const Vector< Float > &tr, Float blank)
virtual void ctab(const Vector< Float > &l, const Vector< Float > &r, const Vector< Float > &g, const Vector< Float > &b, Float contra, Float bright)
virtual void bin(const Vector< Float > &x, const Vector< Float > &data, Bool center)
virtual void scrn(Int ci, const String &name)
virtual Vector< Float > qvsz(Int units)
virtual void hist(const Vector< Float > &data, Float datmin, Float datmax, Int nbin, Int pcflag)
virtual void gray(const Matrix< Float > &a, Float fg, Float bg, const Vector< Float > &tr)
Standard plotting object for application programmers.
virtual void stbg(Int tbci)
void ok() const
Throws an exception if !isAttached()
virtual Vector< Int > qcir()
virtual void ask(Bool flag)
const Double e
e and functions thereof:
virtual void arro(Float x1, Float y1, Float x2, Float y2)
Standard PGPLOT commands.
const Double c
Fundamental physical constants (SI units):
PGPlotter & operator=(const PGPlotter &other)
PGPlotter CreateFunction(const String &device, uInt mincolors, uInt maxcolors, uInt sizex, uInt sizey)
Define the signature of a function creating a PGPlotter object.
String: the storage and methods of handling collections of characters.
virtual void pap(Float width, Float aspect)
virtual Vector< Float > rnge(Float x1, Float x2)
virtual void tbox(const String &xopt, Float xtick, Int nxsub, const String &yopt, Float ytick, Int nysub)
virtual void sah(Int fs, Float angle, Float vent)
virtual Vector< Float > qhs()
virtual Vector< Float > qcs(Int units)
CountedPtr< PGPlotterInterface > worker_p
virtual void imag(const Matrix< Float > &a, Float a1, Float a2, const Vector< Float > &tr)
virtual Vector< Float > qwin()
this file contains all the compiler specific defines
virtual void lab(const String &xlbl, const String &ylbl, const String &toplbl)