Package org.opensourcephysics.display
Class PlottingPanelFactory
java.lang.Object
org.opensourcephysics.display.PlottingPanelFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlottingPanel
createPolarType1
(String plotTitle, double deltaR) Constructs a new PlottingPanel with polar type 1 axes using the given title.static PlottingPanel
createPolarType2
(String plotTitle, double deltaR) Constructs a new PlottingPanel with polar type 2 axes using the given title.static PlottingPanel
createType1
(String xlabel, String ylabel, 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
(String xlabel, String ylabel, 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
(String xlabel, String ylabel, String plotTitle) Constructs a new PlottingPanel with cartesian type 3 axes using the given X axis label, Y axis label, and plot title.
-
Method Details
-
createType1
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
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
Constructs a new PlottingPanel with polar type 1 axes using the given title.- Parameters:
plotTitle
- the plot title.
-
createPolarType2
Constructs a new PlottingPanel with polar type 2 axes using the given title.- Parameters:
plotTitle
- the plot title.
-
createType3
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.
-