golib
0.5
|
Convenience interface to goMultiPlotter and goSinglePlot. More...
#include <gnuplot.h>
Public Member Functions | |
void | plot (const goMath::Matrixf &curve, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plot (const goMath::Matrixd &curve, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plot (const goMath::Vectorf &px, const goMath::Vectorf &py, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plot (const goMath::Vectord &px, const goMath::Vectord &py, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plot (const goMath::Vectorf &py, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plot (const goMath::Vectord &py, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plotImage (const goSignal3DBase< void > &image, const char *title="", const char *options="w image", goSize_t x=0, goSize_t y=0) |
void | plotImage (const goMath::Matrixf &image, const char *title="", const char *options="w image", goSize_t x=0, goSize_t y=0) |
void | plotImage (const goMath::Matrixd &image, const char *title="", const char *options="w image", goSize_t x=0, goSize_t y=0) |
void | plotPoint (goDouble px, goDouble py, const char *title="", const char *options="w p", goSize_t x=0, goSize_t y=0) |
void | plotPoint (const goMath::Vectorf &p, const char *title="", const char *options="w p", goSize_t x=0, goSize_t y=0) |
void | plotPoint (const goMath::Vectord &p, const char *title="", const char *options="w p", goSize_t x=0, goSize_t y=0) |
void | plotLine (const goMath::Vectorf &n, const goMath::Vectorf &p, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plotLine (const goMath::Vectord &n, const goMath::Vectord &p, const char *title="", const char *options="w l", goSize_t x=0, goSize_t y=0) |
void | plot (goMultiPlotter &mp) |
void | plot () |
void | plotPostscript (const char *filename, goFloat sizeX=-1.0f, goFloat sizeY=-1.0f) |
void | plotFile (const char *filename, const char *termstring) |
void | plotPause () |
void | saveGnuplot (const char *filename) |
void | setPrefix (const char *p) |
void | addPrefix (const char *p) |
void | setPostfix (const char *p) |
void | addPostfix (const char *p) |
void | setTitle (const char *s) |
void | clear () |
Removes all plots. | |
void | clear (goSize_t x, goSize_t y) |
Clears plot (x,y), if it exists. More... | |
goAutoPtr< goSinglePlot > | getPlotp (goSize_t x, goSize_t y) |
goSinglePlot & | getPlot (goSize_t x, goSize_t y) |
goGnuplot & | getGnuplot () |
![]() | |
goObjectBase () | |
Constructor. | |
virtual | ~goObjectBase () |
Destructor. More... | |
const char * | getClassName () const |
Returns the class name. More... | |
int | getClassID () const |
virtual goSize_t | memoryUsage () const |
Returns the size of this object or some measure of its memory consumption. More... | |
void | setObjectName (const char *name) |
Set name string for an object. More... | |
void | setObjectName (const goString &name) |
Set name string for an object. More... | |
const goString & | getObjectName () const |
Get the object name. More... | |
virtual bool | writeObjectFile (FILE *) const |
Write object to a file. More... | |
virtual bool | readObjectFile (FILE *) |
Read object from a file. More... | |
void | connectObject (goObjectBase *object) |
Connects an object to this object. More... | |
void | disconnectObject (const goObjectBase *object) |
Disconnects an object from this object. | |
virtual bool | callObjectMethod (int methodID, goObjectMethodParameters *param=NULL) |
Call an object method by identifier. More... | |
virtual bool | queueObjectMethod (int methodID, goObjectMethodParameters *param=NULL, bool blocking=false) |
Enqueue a method call to an internal list of methods. More... | |
bool | callQueuedMethods () |
Call all queued methods. More... | |
Additional Inherited Members | |
![]() | |
void | setClassID (int id) |
Sets the class name. | |
void | printClassMessage (const char *msg) |
Sets the class name. More... | |
void | printClassMessage (goString &msg) |
Prints an informational message to the calling console. More... | |
void | sendObjectMessage (int messageID, void *data=NULL) |
Sends a message to all connected objects. | |
void | sendObjectMessage (goObjectBase *object, int messageID, void *data=NULL) |
Sends a message to a specific object. | |
virtual void | receiveObjectMessage (const goObjectMessage &message) |
Receive a message. More... | |
Convenience interface to goMultiPlotter and goSinglePlot.
This just makes using goMultiPlotter and goSinglePlot a little simpler for some cases.
Clears plot (x,y), if it exists.
If the plot does not exist, does nothing.
x | x position of the plot. |
y | y position of the plot. |