My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::PgUtil Class Reference

Public Types

enum  {
  BLACK = 0, WHITE = 1, RED = 2, GREEN = 3,
  DEEP_BLUE = 4, PALE_BLUE = 5, MAGENTA = 6, YELLOW = 7,
  ORANGE = 8, YELLOW_GREEN = 9, SAGE_GREEN = 10, SLATE_BLUE = 11,
  PURPLE = 12, PINK = 13, DARK_GRAY = 14, DARK_GREY = 14,
  LIGHT_GRAY = 15, LIGHT_GREY = 15
}
 

Public Member Functions

 PgUtil ()
 
virtual ~PgUtil ()
 

Static Public Member Functions

static int open (std::string device)
 
static void close ()
 
static int v_grey2 (int ndata, float *zdata, int nx, int ny, float xmina=0, float xmaxa=1, float ymina=0, float ymaxa=1, float *flag=0, float z1=0, float z2=0, char *xlab="", char *ylab="", char *title="", char *unit="")
 
static int v_radplot (float data[], int nbin, float rmin, float rmax, float xmin, float xmax, float ymin, float ymax, int nx, int ny)
 
static int v_lplot (int narr, float xarr[], float yarr[], char xlab[], char ylab[], char title[])
 
static void setOverplot (bool overplot)
 
static void setVp (bool vp)
 
static void setTick (bool tick)
 
static void setLabel (bool label)
 
static void setWedge (bool wedge)
 
static void setUsedefs (bool usedefs)
 
static void setXmin (float xmin)
 
static void setXmax (float xmax)
 
static void setYmin (float ymin)
 
static void setYmax (float ymax)
 
static void setColormap (std::string cmap)
 

Constructor & Destructor Documentation

PgUtil::PgUtil ( )

Constructor.

....................................................................... Constructor.

PgUtil::~PgUtil ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

int PgUtil::v_grey2 ( int  ndata,
float *  zdata,
int  nx,
int  ny,
float  xmina = 0,
float  xmaxa = 1,
float  ymina = 0,
float  ymaxa = 1,
float *  flag = 0,
float  z1 = 0,
float  z2 = 0,
char *  xlab = "",
char *  ylab = "",
char *  title = "",
char *  unit = "" 
)
static

....................................................................... Grid data & make a grayscale map

Input: ferret Ferret * The ferret to be plotted. xmem Dmem * The xmember. ymem Dmem * The ymember. zmem Dmem * The zmember. nx int The number of points to use in x. ny int The number of points to use in y. z1 float The foreground greyscale. z2 float The background greyscale. Output: return int 0 - OK.


The documentation for this class was generated from the following files: