My Project
Public Member Functions
GnuplotInterface Class Reference

Gnuplot interface. More...

#include <GnuplotInterface.hh>

Inheritance diagram for GnuplotInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GnuplotInterface (string Command="gnuplot")
 ~GnuplotInterface ()
void ExeCommand (string Command)
void e (string Command)
void ExeCommandSave (string Command)
void Clear ()
void Dump ()
void Save (string FileName)
void Replot ()

Detailed Description

Gnuplot interface.

Gnuplot in your system is called and gnuplot commands are passed with this class. Each gnuplot command is passed to the gnuplot through the standard input of the Gnuplot connected by the constructor, and each gnuplot command is stored in this class object. The history of the gnuplot command can be shown and saved to files.


Constructor & Destructor Documentation

GnuplotInterface::GnuplotInterface ( string  Command = "gnuplot")

Constructor. If Gnuplot is not installed with its command name is "gnuplot" in your system, you must specify your gnuplot command.

Destructor. Gnuplot called by the constructor is terminated.


Member Function Documentation

The buffer storing command history is initialized. See the comment of "Save(string)".

The contents of the buffer storing command history is shown to std-out.

void GnuplotInterface::e ( string  Command) [inline]
void GnuplotInterface::ExeCommand ( string  Command)

The argument of this method is sent to Gnuplot called by the constructor.

The contents of the butter storing command history is executed with this command.

void GnuplotInterface::Save ( string  FileName)

The contents of the butter storing command history is saved to the file named "FileName".


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