|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--edu.ull.cgunay.plots.Grapher
|
+--edu.ull.cgunay.plots.GNUPlot
Grapher implementation for plotting with the
gnuplot program.
See description in Grapher for the usage.
Created: Mon Apr 8 17:53:58 2002
Modified: $Date: 2002/12/17 00:58:53 $
Grapher| Nested Class Summary |
| Nested classes inherited from class edu.ull.cgunay.plots.Grapher |
Grapher.Axis, Grapher.Data, Grapher.DataType, Grapher.ErrorData, Grapher.MultiAxes, Grapher.PreciseProfileData, Grapher.ProfileData, Grapher.VerticalBar |
| Field Summary |
| Fields inherited from class edu.ull.cgunay.plots.Grapher |
dataTypes, err, msg, out, points, process, windowNumber |
| Constructor Summary | |
GNUPlot()
Creates a new GNUPlot instance. |
|
| Method Summary | |
void |
close()
Exits from gnuplot. |
String |
def_func(String name,
String[] params,
String body)
gnuplot style function definition. |
(package private) String |
getLabel(Plot plot)
|
PlotHandle |
multiPlot(Collection plots,
PrintStream out)
Not implemented yet! |
String |
plotToString(Plot plot)
Deprecated. See MatLab |
String |
plotToString(SpikePlot plot)
Returns a String representation of a spike
plot for the Grapher. |
void |
setWindow(int windowNumber)
Sets the current plot window according to grapher platform. |
void |
writeEPS(PlotHandle handle,
String filename)
Sets terminal type to postscript eps and directs the output to given filename. |
| Methods inherited from class edu.ull.cgunay.plots.Grapher |
add, assign, command, createAxis, createMultiAxes, createMultiAxes, display, div, exp, func, geq, getPoints, mul, multiPlot, neg, paren, plotToString, plotToStringAlt, profile, quote, range, response, setPoints, sub, superposedPlot, superposedPlot, variable, waitForResponse, writeEPSbw |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GNUPlot()
throws GrapherNotAvailableException
GNUPlot instance.
GrapherNotAvailableException - if the cannot instantiate the grapher process| Method Detail |
public String plotToString(SpikePlot plot)
GrapherString representation of a spike
plot for the Grapher.
plotToString in class Grapherplot - a SpikePlot value
String valuepublic String plotToString(Plot plot)
MatLab
plot - a Plot value
String valueMatLab.plotToStringAlt(edu.ull.cgunay.plots.Plot)String getLabel(Plot plot)
public PlotHandle multiPlot(Collection plots,
PrintStream out)
multiPlot in class Grapherplots - a Collection valueout - a PrintStream value
String valuemultiPlot(java.util.Collection, java.io.PrintStream),
MatLab.multiPlot(java.util.Collection, java.io.PrintStream)
public String def_func(String name,
String[] params,
String body)
def_func in class Graphername - a String value, name of the functionparams - a String[] value, parameter names of the functionbody - a String value, the body of the function
String valuepublic void close()
close in class Grapherpublic void setWindow(int windowNumber)
Grapher
setWindow in class GrapherwindowNumber - an int value
public void writeEPS(PlotHandle handle,
String filename)
writeEPS in class Grapherhandle - a PlotHandle valuefilename - a String value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||