Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

PlotPolar.h

Go to the documentation of this file.
00001 //LabPlot : PlotPolar.h
00002 
00003 #ifndef PLOTPOLAR_H
00004 #define PLOTPOLAR_H
00005 
00006 #include "Plot.h"
00007 
00008 class PlotPolar:public Plot {
00009 public:
00010         PlotPolar(Worksheet *p);
00011         ~PlotPolar();
00012         QStringList Info();
00013         Axis *getAxis(int i) { return &axis[i]; }
00014         void saveAxes(QTextStream *t);
00015         void openAxes(QTextStream *t,int version);
00016         void saveXML(QDomDocument doc, QDomElement plottag);
00017         void openXML(QDomElement e);
00018         void draw(QPainter* p,int w, int h);
00019         void drawCurves(QPainter* p, int w, int h);
00020         void setBorder(int, bool) {}
00021         void setRange(LRange* r,int i) {range[i]=*r;}
00022         void setActRange(LRange* r,int i) {actrange[i]=*r;}
00023         void setRanges(LRange* r) {range[0]=r[0];range[1]=r[1];}
00024         void setActRanges(LRange* r) {actrange[0]=r[0];actrange[1]=r[1];}
00025 private:
00026         Axis axis[2];           // phi,r
00027 };
00028 
00029 #endif // PLOTPOLAR_H

Generated on Sat Oct 13 21:55:01 2007 for LabPlot by  doxygen 1.4.4