org.opensourcephysics.display
Class PlottingPanelFactory

java.lang.Object
  extended by org.opensourcephysics.display.PlottingPanelFactory

public class PlottingPanelFactory
extends java.lang.Object


Method Summary
static PlottingPanel createPolarType1(java.lang.String plotTitle, double deltaR)
          Constructs a new PlottingPanel with polar type 1 axes using the given title.
static PlottingPanel createPolarType2(java.lang.String plotTitle, double deltaR)
          Constructs a new PlottingPanel with polar type 2 axes using the given title.
static PlottingPanel createType1(java.lang.String xlabel, java.lang.String ylabel, java.lang.String plotTitle)
          Constructs a new PlottingPanel with cartesian type 1 axes using the given X axis label, Y axis label, and plot title.
static PlottingPanel createType2(java.lang.String xlabel, java.lang.String ylabel, java.lang.String plotTitle)
          Constructs a new PlottingPanel with cartesian type 2 axes using the given X axis label, Y axis label, and plot title.
static PlottingPanel createType3(java.lang.String xlabel, java.lang.String ylabel, java.lang.String plotTitle)
          Constructs a new PlottingPanel with cartesian type 3 axes using the given X axis label, Y axis label, and plot title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createType1

public static PlottingPanel createType1(java.lang.String xlabel,
                                        java.lang.String ylabel,
                                        java.lang.String plotTitle)
Constructs a new PlottingPanel with cartesian type 1 axes using the given X axis label, Y axis label, and plot title.

Parameters:
xlabel - The X axis label.
ylabel - The Y axis label.
plotTitle - The plot title.

createType2

public static PlottingPanel createType2(java.lang.String xlabel,
                                        java.lang.String ylabel,
                                        java.lang.String plotTitle)
Constructs a new PlottingPanel with cartesian type 2 axes using the given X axis label, Y axis label, and plot title.

Parameters:
xlabel - The X axis label.
ylabel - The Y axis label.
plotTitle - The plot title.

createPolarType1

public static PlottingPanel createPolarType1(java.lang.String plotTitle,
                                             double deltaR)
Constructs a new PlottingPanel with polar type 1 axes using the given title.

Parameters:
plotTitle - the plot title.

createPolarType2

public static PlottingPanel createPolarType2(java.lang.String plotTitle,
                                             double deltaR)
Constructs a new PlottingPanel with polar type 2 axes using the given title.

Parameters:
plotTitle - the plot title.

createType3

public static PlottingPanel createType3(java.lang.String xlabel,
                                        java.lang.String ylabel,
                                        java.lang.String plotTitle)
Constructs a new PlottingPanel with cartesian type 3 axes using the given X axis label, Y axis label, and plot title.

Parameters:
xlabel - The X axis label.
ylabel - The Y axis label.
plotTitle - The plot title.