ca.nengo.plot.impl
Class DefaultPlotter
java.lang.Object
ca.nengo.plot.Plotter
ca.nengo.plot.impl.DefaultPlotter
public class DefaultPlotter
- extends Plotter
Default Plotter implementation.
- Author:
- Bryan Tripp
|
Method Summary |
void |
doPlot(float[] domain,
float[] vector,
java.lang.String title)
|
void |
doPlot(float[] vector,
java.lang.String title)
|
void |
doPlot(Function function,
float start,
float increment,
float end,
java.lang.String title)
|
void |
doPlot(java.util.List<TimeSeries> series,
java.util.List<SpikePattern> patterns,
java.lang.String title)
|
void |
doPlot(NEFEnsemble ensemble)
|
void |
doPlot(NEFEnsemble ensemble,
java.lang.String name)
|
void |
doPlot(SpikePattern pattern)
|
void |
doPlot(TimeSeries series,
java.lang.String title)
|
void |
doPlot(TimeSeries ideal,
TimeSeries actual,
java.lang.String title)
|
void |
doPlotMSE(NEFEnsemble ensemble,
DecodedOrigin origin,
java.lang.String name)
|
org.jfree.chart.ChartPanel |
getBarChart(float[] vector,
java.lang.String title)
|
| Methods inherited from class ca.nengo.plot.Plotter |
closeAll, createFrame, filter, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, showPlot |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPlotter
public DefaultPlotter()
doPlot
public void doPlot(TimeSeries series,
java.lang.String title)
- Specified by:
doPlot in class Plotter
- Parameters:
series - TimeSeries to plottitle - Plot title- See Also:
Plotter.doPlot(ca.nengo.util.TimeSeries, java.lang.String)
doPlot
public void doPlot(TimeSeries ideal,
TimeSeries actual,
java.lang.String title)
- Specified by:
doPlot in class Plotter
- Parameters:
ideal - Ideal time seriesactual - Actual time seriestitle - Plot title- See Also:
Plotter.doPlot(ca.nengo.util.TimeSeries, ca.nengo.util.TimeSeries, java.lang.String)
doPlot
public void doPlot(java.util.List<TimeSeries> series,
java.util.List<SpikePattern> patterns,
java.lang.String title)
- Specified by:
doPlot in class Plotter
- Parameters:
series - A list of TimeSeries to plot (can be null if none)patterns - A list of SpikePatterns to plot (can be null if none)title - Plot title- See Also:
Plotter.doPlot(java.util.List, java.util.List, java.lang.String)
doPlot
public void doPlot(NEFEnsemble ensemble,
java.lang.String name)
- Specified by:
doPlot in class Plotter
- Parameters:
ensemble - NEFEnsemble from which origin arisesname - Name of origin (must be a DecodedOrigin, not one derived from a combination of
neuron origins)- See Also:
Plotter.doPlot(ca.nengo.model.nef.NEFEnsemble, java.lang.String)
doPlotMSE
public void doPlotMSE(NEFEnsemble ensemble,
DecodedOrigin origin,
java.lang.String name)
doPlot
public void doPlot(NEFEnsemble ensemble)
- Specified by:
doPlot in class Plotter
- Parameters:
ensemble - An NEFEnsemble- See Also:
Plotter.doPlot(ca.nengo.model.nef.NEFEnsemble)
doPlot
public void doPlot(SpikePattern pattern)
- Specified by:
doPlot in class Plotter
- Parameters:
pattern - A SpikePattern for which to plot a raster- See Also:
Plotter.doPlot(ca.nengo.util.SpikePattern)
doPlot
public void doPlot(Function function,
float start,
float increment,
float end,
java.lang.String title)
- Specified by:
doPlot in class Plotter
- Parameters:
function - Function to plotstart - Minimum of input rangeincrement - Size of incrememnt along input rangeend - Maximum of input rangetitle - Display title of plot- See Also:
Plotter.doPlot(ca.nengo.math.Function, float, float, float, String)
doPlot
public void doPlot(float[] vector,
java.lang.String title)
- Specified by:
doPlot in class Plotter
- Parameters:
vector - Vector of points to plottitle - Display title of plot- See Also:
Plotter.doPlot(float[], String)
getBarChart
public org.jfree.chart.ChartPanel getBarChart(float[] vector,
java.lang.String title)
doPlot
public void doPlot(float[] domain,
float[] vector,
java.lang.String title)
- Specified by:
doPlot in class Plotter
- Parameters:
domain - Vector of domain valuesvector - Vector of range valuestitle - Display title of plot- See Also:
Plotter.doPlot(float[], float[], java.lang.String)