.. java:import:: java.text DecimalFormat .. java:import:: java.awt BorderLayout .. java:import:: java.awt Color .. java:import:: java.awt Dimension .. java:import:: java.awt Font .. java:import:: javax.swing BorderFactory .. java:import:: javax.swing JPanel .. java:import:: javax.swing JFrame .. java:import:: org.jfree.chart ChartPanel .. java:import:: org.jfree.chart JFreeChart .. java:import:: org.jfree.chart.axis NumberAxis .. java:import:: org.jfree.chart.axis ValueAxis .. java:import:: org.jfree.chart.plot CombinedDomainXYPlot .. java:import:: org.jfree.chart.plot XYPlot .. java:import:: org.jfree.chart.renderer.xy StandardXYItemRenderer .. java:import:: org.jfree.data.xy XYSeries .. java:import:: org.jfree.data.xy XYSeriesCollection SimulatorStatusFrame ==================== .. java:package:: ch.epfl.leb.sass.ijplugin :noindex: .. java:type:: public class SimulatorStatusFrame extends javax.swing.JFrame Frame that displays the current status and recent history of the simulation. The layout for the status frame was inspired by Karl Bellve's pgFocus GUI: http://big.umassmed.edu/wiki/index.php/PgFocus :author: Kyle M. Douglass Fields ------ SUBPLOT_COUNT ^^^^^^^^^^^^^ .. java:field:: public final int SUBPLOT_COUNT :outertype: SimulatorStatusFrame Constructors ------------ SimulatorStatusFrame ^^^^^^^^^^^^^^^^^^^^ .. java:constructor:: public SimulatorStatusFrame(String groundTruthYLabel, String analyzerYLabel, String setpointYLabel, String outputYLabel) :outertype: SimulatorStatusFrame Creates a new status frame. :param groundTruthYLabel: The y-axis label for the ground truth signal. :param analyzerYLabel: The units output by the analyzer. :param setpointYLabel: The units of the controller setpoint. :param outputYLabel: The units output by the controller. Methods ------- updateGraph ^^^^^^^^^^^ .. java:method:: public void updateGraph(int frame, double trueCount, double estimate, double setpoint, double laser) :outertype: SimulatorStatusFrame Adds a single new time point to the plot. :param frame: The frame number :param trueCount: The true number of emitting molecules. :param estimate: Analyzer's estimate of the number of emitting molecules. :param setpoint: The controller's setpoint value. :param laser: The output of the laser.