|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nengo.plot.Plotter
public abstract class Plotter
Factory for frequently-used plots.
| Constructor Summary | |
|---|---|
Plotter()
|
|
| Method Summary | |
|---|---|
static void |
closeAll()
Close all open plots |
javax.swing.JFrame |
createFrame()
|
abstract void |
doPlot(float[] domain,
float[] vector,
java.lang.String title)
|
abstract void |
doPlot(float[] vector,
java.lang.String title)
|
abstract void |
doPlot(Function function,
float start,
float increment,
float end,
java.lang.String title)
|
abstract void |
doPlot(java.util.List<TimeSeries> series,
java.util.List<SpikePattern> patterns,
java.lang.String title)
|
abstract void |
doPlot(NEFEnsemble ensemble)
|
abstract void |
doPlot(NEFEnsemble ensemble,
java.lang.String origin)
|
abstract void |
doPlot(SpikePattern pattern)
|
abstract void |
doPlot(TimeSeries series,
java.lang.String title)
|
abstract void |
doPlot(TimeSeries ideal,
TimeSeries actual,
java.lang.String title)
|
static TimeSeries |
filter(TimeSeries series,
float tauFilter)
|
static void |
plot(float[] domain,
float[] vector,
java.lang.String title)
Static convenience method for plotting a vector. |
static void |
plot(float[] vector,
java.lang.String title)
Static convenience method for plotting a vector. |
static void |
plot(Function function,
float start,
float increment,
float end,
java.lang.String title)
Static convenience method for plotting a Function. |
static void |
plot(java.util.List<TimeSeries> series,
java.util.List<SpikePattern> patterns,
java.lang.String title)
Plots multiple TimeSeries and/or SpikePatterns together in the same plot. |
static void |
plot(NEFEnsemble ensemble)
Static convenience method for producing a plot of CONSTANT_RATE responses over range of inputs. |
static void |
plot(NEFEnsemble ensemble,
java.lang.String origin)
Static convenience method for producing a decoding error plot of an NEFEnsemble origin. |
static void |
plot(SpikePattern pattern)
Static convenience method for plotting a spike raster. |
static void |
plot(TimeSeries series,
float tauFilter,
java.lang.String title)
As plot(TimeSeries) but series is filtered before plotting. |
static void |
plot(TimeSeries series,
java.lang.String title)
Static convenience method for producing a TimeSeries plot. |
static void |
plot(TimeSeries ideal,
TimeSeries actual,
float tauFilter,
java.lang.String title)
Plots ideal and actual TimeSeries' together, with each series filtered before plotting. |
static void |
plot(TimeSeries ideal,
TimeSeries actual,
java.lang.String title)
Plots ideal and actual TimeSeries' together. |
void |
showPlot(javax.swing.JPanel plotPanel,
java.lang.String title)
Display a new plot. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Plotter()
| Method Detail |
|---|
public void showPlot(javax.swing.JPanel plotPanel,
java.lang.String title)
plotPanel - A panel containng the plot imagetitle - The plot titlepublic javax.swing.JFrame createFrame()
public static void closeAll()
public static void plot(TimeSeries series,
java.lang.String title)
series - TimeSeries to plottitle - Plot title
public static void plot(TimeSeries series,
float tauFilter,
java.lang.String title)
series - TimeSeries to plottauFilter - Time constant of display filter (s)title - Plot title
public static TimeSeries filter(TimeSeries series,
float tauFilter)
series - A TimeSeries to which to apply a 1-D linear filtertauFilter - Filter time constant
public static void plot(TimeSeries ideal,
TimeSeries actual,
java.lang.String title)
ideal - Ideal time seriesactual - Actual time seriestitle - Plot title
public static void plot(java.util.List<TimeSeries> series,
java.util.List<SpikePattern> patterns,
java.lang.String title)
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
public static void plot(TimeSeries ideal,
TimeSeries actual,
float tauFilter,
java.lang.String title)
ideal - Ideal time seriesactual - Actual time seriestauFilter - Time constant of display filter (s)title - Plot title
public abstract void doPlot(TimeSeries series,
java.lang.String title)
series - TimeSeries to plottitle - Plot title
public abstract void doPlot(TimeSeries ideal,
TimeSeries actual,
java.lang.String title)
ideal - Ideal time seriesactual - Actual time seriestitle - Plot title
public abstract void doPlot(java.util.List<TimeSeries> series,
java.util.List<SpikePattern> patterns,
java.lang.String title)
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
public static void plot(NEFEnsemble ensemble,
java.lang.String origin)
ensemble - NEFEnsemble from which origin arisesorigin - Name of origin (must be a DecodedOrigin, not one derived from a combination of
neuron origins)
public abstract void doPlot(NEFEnsemble ensemble,
java.lang.String origin)
ensemble - NEFEnsemble from which origin arisesorigin - Name of origin (must be a DecodedOrigin, not one derived from a combination of
neuron origins)public static void plot(NEFEnsemble ensemble)
ensemble - An NEFEnsemblepublic abstract void doPlot(NEFEnsemble ensemble)
ensemble - An NEFEnsemblepublic static void plot(SpikePattern pattern)
pattern - SpikePattern to plotpublic abstract void doPlot(SpikePattern pattern)
pattern - A SpikePattern for which to plot a raster
public static void plot(Function function,
float start,
float increment,
float end,
java.lang.String title)
function - Function to plotstart - Minimum of input rangeincrement - Size of incrememnt along input rangeend - Maximum of input rangetitle - Display title of plot
public abstract void doPlot(Function function,
float start,
float increment,
float end,
java.lang.String title)
function - Function to plotstart - Minimum of input rangeincrement - Size of incrememnt along input rangeend - Maximum of input rangetitle - Display title of plot
public static void plot(float[] vector,
java.lang.String title)
vector - Vector of points to plottitle - Display title of plot
public abstract void doPlot(float[] vector,
java.lang.String title)
vector - Vector of points to plottitle - Display title of plot
public static void plot(float[] domain,
float[] vector,
java.lang.String title)
domain - Vector of domain valuesvector - Vector of range valuestitle - Display title of plot
public abstract void doPlot(float[] domain,
float[] vector,
java.lang.String title)
domain - Vector of domain valuesvector - Vector of range valuestitle - Display title of plot
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||