CXGraph Class Reference

#include <xgraph.h>

Collaboration diagram for CXGraph:
[legend]

List of all members.

Public Member Functions

void setcolor (string color)
void setaxes (double xmin, double ymin, double xmax, double ymax)
void drawtext (char *string, double x, double y)
void drawline (double x1, double y1, double x2, double y2)
void drawcircle (double x, double y, double size)
void drawsquare (double x, double y, double size)
void drawdiamond (double x, double y, double size)
void drawuptriangle (double x, double y, double size)
void drawdowntriangle (double x, double y, double size)
void drawpoint (double x, double y)
void drawarrow (double x1, double y1, double x2, double y2, double headsize)
void drawaxes ()
void closedisplay ()
void getij (double x, double y, int *i, int *j)
void plotline (double *x, double *y, int npts)
void plotpoints (double *x, double *y, int npts)
void clear ()
void flush ()
 CXGraph (int horizsize, int vertsize, int ixposition, int iyposition)
 ~CXGraph ()

Public Attributes

Display * theDisplay
Window theWindow
Screen * theScreen
Font theFont
GC theGC
int window_horizsize
int window_vertsize
int ixposition
int iyposition
Colormap screen_colormap
XColor red
XColor brown
XColor blue
XColor yellow
XColor green
XColor orange
XColor black
XColor cyan
XColor violet
XColor lightblue
XColor navy
XColor pink
XColor white
Status rc
CAxesInfo axesinfo


Detailed Description

Definition at line 26 of file xgraph.h.


Constructor & Destructor Documentation

CXGraph::CXGraph ( int  horizsize,
int  vertsize,
int  ixposition,
int  iyposition 
)

Definition at line 4 of file xgraph.cc.

CXGraph::~CXGraph (  ) 

Definition at line 94 of file xgraph.cc.


Member Function Documentation

void CXGraph::clear (  ) 

Definition at line 376 of file xgraph.cc.

void CXGraph::closedisplay (  ) 

Definition at line 335 of file xgraph.cc.

void CXGraph::drawarrow ( double  x1,
double  y1,
double  x2,
double  y2,
double  headsize 
)

Definition at line 160 of file xgraph.cc.

void CXGraph::drawaxes (  ) 

Definition at line 277 of file xgraph.cc.

void CXGraph::drawcircle ( double  x,
double  y,
double  size 
)

Definition at line 187 of file xgraph.cc.

void CXGraph::drawdiamond ( double  x,
double  y,
double  size 
)

Definition at line 215 of file xgraph.cc.

void CXGraph::drawdowntriangle ( double  x,
double  y,
double  size 
)

Definition at line 251 of file xgraph.cc.

void CXGraph::drawline ( double  x1,
double  y1,
double  x2,
double  y2 
)

Definition at line 153 of file xgraph.cc.

void CXGraph::drawpoint ( double  x,
double  y 
)

Definition at line 181 of file xgraph.cc.

void CXGraph::drawsquare ( double  x,
double  y,
double  size 
)

Definition at line 195 of file xgraph.cc.

void CXGraph::drawtext ( char *  string,
double  x,
double  y 
)

Definition at line 141 of file xgraph.cc.

void CXGraph::drawuptriangle ( double  x,
double  y,
double  size 
)

Definition at line 235 of file xgraph.cc.

void CXGraph::flush (  ) 

Definition at line 97 of file xgraph.cc.

void CXGraph::getij ( double  x,
double  y,
int *  i,
int *  j 
)

Definition at line 326 of file xgraph.cc.

void CXGraph::plotline ( double *  x,
double *  y,
int  npts 
)

Definition at line 339 of file xgraph.cc.

void CXGraph::plotpoints ( double *  x,
double *  y,
int  npts 
)

Definition at line 358 of file xgraph.cc.

void CXGraph::setaxes ( double  xmin,
double  ymin,
double  xmax,
double  ymax 
)

Definition at line 268 of file xgraph.cc.

void CXGraph::setcolor ( string  color  ) 

Definition at line 102 of file xgraph.cc.


Member Data Documentation

Definition at line 37 of file xgraph.h.

Definition at line 35 of file xgraph.h.

XColor CXGraph::blue

Definition at line 35 of file xgraph.h.

Definition at line 35 of file xgraph.h.

XColor CXGraph::cyan

Definition at line 35 of file xgraph.h.

Definition at line 35 of file xgraph.h.

Definition at line 33 of file xgraph.h.

Definition at line 33 of file xgraph.h.

Definition at line 35 of file xgraph.h.

XColor CXGraph::navy

Definition at line 35 of file xgraph.h.

Definition at line 35 of file xgraph.h.

XColor CXGraph::pink

Definition at line 35 of file xgraph.h.

Status CXGraph::rc

Definition at line 36 of file xgraph.h.

XColor CXGraph::red

Definition at line 35 of file xgraph.h.

Definition at line 34 of file xgraph.h.

Definition at line 28 of file xgraph.h.

Definition at line 31 of file xgraph.h.

Definition at line 32 of file xgraph.h.

Definition at line 30 of file xgraph.h.

Definition at line 29 of file xgraph.h.

Definition at line 35 of file xgraph.h.

Definition at line 35 of file xgraph.h.

Definition at line 33 of file xgraph.h.

Definition at line 33 of file xgraph.h.

Definition at line 35 of file xgraph.h.


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

Generated on Fri Feb 6 13:30:19 2009 for CorAL by  doxygen 1.5.8