Logo Search packages:      
Sourcecode: labplot version File versions

Plot2DSimple Class Reference

#include <Plot2DSimple.h>

Inheritance diagram for Plot2DSimple:

List of all members.


Detailed Description

simple 2D Plot (line, error)

Definition at line 12 of file Plot2DSimple.h.


Public Member Functions

LRange * ActRanges ()
void autoScaleX ()
void autoScaleY ()
void autoScaleZ ()
QColor Background ()
double Baseline ()
bool baselineEnabled ()
bool borderEnabled (int index)
void clear ()
int ClipOffset ()
void draw (QPainter *p, int w, int h)
void drawAxes (QPainter *p, int w, int h)
void drawBorder (QPainter *p, int w, int h)
void drawCurves (QPainter *p, int w, int h)
void drawErrorBar (QPainter *p, int x, int y, int xleft, int xright, int ytop, int ybottom)
 draw errorbars for x-y-dy, x-y-dx-dy and x-y-dy1-dy2
void drawStyle (QPainter *p, Style s, int oldx, int oldy, int x, int y, int xmin, int xmax, int ymin, int ymax)
void enableBorder (int index, bool b)
void enableGrid (int index, bool b)
Axis * getAxis (int i)
GraphList * getGraphList ()
class Legend * getLegend ()
QColor graphBackground ()
bool gridEnabled (int index)
QStringList Info ()
bool inside (double x, double y)
bool insideB1Corner (double x, double y)
bool insideB2Corner (double x, double y)
bool insideCenter (double x, double y)
bool insideF1Corner (double x, double y)
bool insideF2Corner (double x, double y)
bool insideLegend (int x, int y)
bool insidePlottingArea (double x, double y)
bool insideX1Border (double x, double y)
bool insideX2Border (double x, double y)
bool insideY1Border (double x, double y)
bool insideY2Border (double x, double y)
void open (QTextStream *t, int version)
void openAxes (QTextStream *t, int version)
void openAxis (QTextStream *t, int version, Axis *axis, bool *gridenabled, bool *borderenabled, bool *minorgridenabled)
Point P1 ()
Point P2 ()
 Plot2DSimple (Worksheet *p)
Point Position ()
LRange * Ranges ()
bool regionEnabled ()
double RegionMax ()
double RegionMin ()
void save (QTextStream *t)
void saveAxes (QTextStream *t)
void saveAxis (QTextStream *t, Axis *axis, int gridenabled, int borderenabled, int minorgridenabled)
void scaleXDown ()
void scaleXUp ()
void scaleYDown ()
void scaleYUp ()
void scaleZDown ()
void scaleZUp ()
void setActRanges (LRange *r)
void setBackground (QColor c)
void setBaseline (double b)
void setBaselineEnabled (bool e)
void setBorder (int item, bool on)
void setClipOffset (int c)
void setGraphBackground (QColor c)
void setP1 (Point p)
void setP2 (Point p)
void setPosition (double x, double y)
void setPosition (Point p)
void setRanges (LRange *r)
void setRegionEnabled (bool e)
void setRegionMax (double max)
void setRegionMin (double min)
void setSize (double x, double y)
void setSize (Point s)
void setTransparent (bool t)
void setType (PType i)
void setXMax (int xmax, int X)
void setXMin (int xmin, int X)
void setXRange (double x1, double x2)
void setYMax (int ymax, int Y)
void setYMin (int ymin, int Y)
void setYRange (double y1, double y2)
void setZRange (double z1, double z2)
void shiftDown ()
void shiftLeft ()
void shiftRight ()
void shiftUp ()
Point Size ()
QString TicLabel (int axisnr, int atlf, int prec, QString dtf, double value)
 build the tic label string according to atlf
Label * Title ()
bool Transparent ()
PType Type ()

Protected Attributes

LRange actrange [3]
Axis axis [4]
double baseline
bool baseline_enabled
QColor bgcolor
int clipoffset
QColor gbgcolor
GraphList * graphlist
Legend legend
Point p1
Point p2
Point position
LRange range [3]
LRange region
bool region_enabled
Point size
Label * title
bool transparent
PType type
Worksheet * worksheet

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

Generated by  Doxygen 1.6.0   Back to index