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