Class PlottingPanelFactory

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

public class PlottingPanelFactory extends Object
  • Method Details

    • createType1

      public 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.
      Parameters:
      xlabel - The X axis label.
      ylabel - The Y axis label.
      plotTitle - The plot title.
    • createType2

      public 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.
      Parameters:
      xlabel - The X axis label.
      ylabel - The Y axis label.
      plotTitle - The plot title.
    • createPolarType1

      public static PlottingPanel createPolarType1(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(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(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.
      Parameters:
      xlabel - The X axis label.
      ylabel - The Y axis label.
      plotTitle - The plot title.