org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui
Class CreatePlotFromSegSlipRateFile
java.lang.Object
org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui.CreatePlotFromSegSlipRateFile
- All Implemented Interfaces:
- GraphWindowAPI
public class CreatePlotFromSegSlipRateFile
- extends Object
- implements GraphWindowAPI
Create the plots from segment recurrence interval file
- Author:
- vipingupta
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreatePlotFromSegSlipRateFile
public CreatePlotFromSegSlipRateFile(ArrayList funcList)
getCurveFunctionList
public ArrayList getCurveFunctionList()
- Specified by:
getCurveFunctionList in interface GraphWindowAPI
- Returns:
- the List for all the ArbitrarilyDiscretizedFunctions and Weighted Function list.
getXLog
public boolean getXLog()
- Specified by:
getXLog in interface GraphWindowAPI
- Returns:
- the boolean: Log for X-Axis Selected
getYLog
public boolean getYLog()
- Specified by:
getYLog in interface GraphWindowAPI
- Returns:
- the boolean: Log for Y-Axis Selected
getXAxisLabel
public String getXAxisLabel()
- Specified by:
getXAxisLabel in interface GraphWindowAPI
getYAxisLabel
public String getYAxisLabel()
- Specified by:
getYAxisLabel in interface GraphWindowAPI
getPlottingFeatures
public ArrayList getPlottingFeatures()
- Specified by:
getPlottingFeatures in interface GraphWindowAPI
- Returns:
- the plotting feature like width, color and shape type of each
curve in list.
isCustomAxis
public boolean isCustomAxis()
- Specified by:
isCustomAxis in interface GraphWindowAPI
- Returns:
- boolean: Checks if Custom Axis is selected
getUserMinX
public double getUserMinX()
- Specified by:
getUserMinX in interface GraphWindowAPI
- Returns:
- the Min X-Axis Range Value, if custom Axis is choosen
getUserMaxX
public double getUserMaxX()
- Specified by:
getUserMaxX in interface GraphWindowAPI
- Returns:
- the Max X-Axis Range Value, if custom axis is choosen
getUserMinY
public double getUserMinY()
- Specified by:
getUserMinY in interface GraphWindowAPI
- Returns:
- the Min Y-Axis Range Value, if custom axis is choosen
getUserMaxY
public double getUserMaxY()
- Specified by:
getUserMaxY in interface GraphWindowAPI
- Returns:
- the Max Y-Axis Range Value, if custom axis is choosen
createPlots
public static void createPlots(String masterDirName,
String excelSheetName)
- It creates plots and saves PDFs in A_FaultSegRecurIntvPlots_2_1 subdirectory in masterDirectory
- Parameters:
masterDirName - MasterDirectoty where A_FaultSegRecurIntvPlots_2_1 will be createdexcelSheetName - Absolute pathname to excel file