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