com.panayotis.gnuplot.plot
Class FunctionPlot

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by com.panayotis.gnuplot.PropertiesHolder
              extended by com.panayotis.gnuplot.plot.AbstractPlot
                  extended by com.panayotis.gnuplot.plot.FunctionPlot
All Implemented Interfaces:
Plot, Serializable, Cloneable, Map<String,String>

public class FunctionPlot
extends AbstractPlot

This type of Plot is used to provide an interface to the functional plots of gnuplot. For example plots like sin(x) or x**2+1
It can also be used as a generic plot command, if the user wishes to manually provide any plot information, without the interference of JavaPlot library.

Author:
teras
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
 
Fields inherited from class com.panayotis.gnuplot.PropertiesHolder
NL
 
Constructor Summary
FunctionPlot(String function)
          Creates a new instance of FunctionPlot.
 
Method Summary
 void retrieveData(StringBuffer buf)
          This method is unused in this object.
 
Methods inherited from class com.panayotis.gnuplot.plot.AbstractPlot
getPlotStyle, retrieveDefinition, setDefinition, setPlotStyle, setSmooth, setTitle
 
Methods inherited from class com.panayotis.gnuplot.PropertiesHolder
appendProperties, set, set, unset
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

FunctionPlot

public FunctionPlot(String function)
Creates a new instance of FunctionPlot.

Parameters:
function - The function definition. It is a free text describing the function to be plotted. The independent variable (for 2D plots) is x
Method Detail

retrieveData

public void retrieveData(StringBuffer buf)
This method is unused in this object. It is here only for combatibility reasons with Plot object.

Parameters:
buf - This parameter is not used


Copyright © 2013. All Rights Reserved.