Package mgui.interfaces.plots.sgt
Class SgtPlotFunctions
java.lang.Object
mgui.interfaces.Utility
mgui.interfaces.plots.sgt.SgtPlotFunctions
public class SgtPlotFunctions extends Utility
Utility class for Scientific Graphics Toolkit (SGT) plots.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SgtPlotFunctions.AxisType
Available axis types; one of: X Y Z T -
Constructor Summary
Constructors Constructor Description SgtPlotFunctions()
-
Method Summary
Modifier and Type Method Description static gov.noaa.pmel.util.Range2D
findRange(gov.noaa.pmel.sgt.dm.SGTGrid data, gov.noaa.pmel.sgt.GridAttribute attr, SgtPlotFunctions.AxisType dir)
Find the range of theSGTGrid
object in the specified direction.gov.noaa.pmel.util.Range2D
findRange(gov.noaa.pmel.sgt.dm.SGTLine data, SgtPlotFunctions.AxisType dir)
Find the range of theSGTLine
object in the specific direction.gov.noaa.pmel.util.SoTRange
findSoTRange(gov.noaa.pmel.sgt.dm.SGTGrid data, gov.noaa.pmel.sgt.GridAttribute attr, SgtPlotFunctions.AxisType dir)
Find the range of theSGTGrid
object in the specified direction.gov.noaa.pmel.util.SoTRange
findSoTRange(gov.noaa.pmel.sgt.dm.SGTLine line, SgtPlotFunctions.AxisType dir)
Find the range of theSGTLine
object in the specific direction.gov.noaa.pmel.util.SoTRange
findSoTRange(gov.noaa.pmel.sgt.dm.SGTVector data, SgtPlotFunctions.AxisType dir)
Find the range of theSGTVector
object in the specified direction.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SgtPlotFunctions
public SgtPlotFunctions()
-
-
Method Details
-
findRange
public static gov.noaa.pmel.util.Range2D findRange(gov.noaa.pmel.sgt.dm.SGTGrid data, gov.noaa.pmel.sgt.GridAttribute attr, SgtPlotFunctions.AxisType dir)Find the range of theSGTGrid
object in the specified direction.- Parameters:
data
- the data gridattr
- the grid attributedir
- the direction
-
findRange
public gov.noaa.pmel.util.Range2D findRange(gov.noaa.pmel.sgt.dm.SGTLine data, SgtPlotFunctions.AxisType dir)Find the range of theSGTLine
object in the specific direction.- Parameters:
data
- SGTLine objectdir
- direction- See Also:
CartesianGraph
-
findSoTRange
public gov.noaa.pmel.util.SoTRange findSoTRange(gov.noaa.pmel.sgt.dm.SGTLine line, SgtPlotFunctions.AxisType dir)Find the range of theSGTLine
object in the specific direction.- Parameters:
xy_data
- SGTLine objectdir
- direction- Returns:
- range as an
SoTRange
object - See Also:
CartesianGraph
-
findSoTRange
public gov.noaa.pmel.util.SoTRange findSoTRange(gov.noaa.pmel.sgt.dm.SGTVector data, SgtPlotFunctions.AxisType dir)Find the range of theSGTVector
object in the specified direction. Uses the U component to find X, Y ranges.- Parameters:
data
- the data vectordir
- the direction- Returns:
- range as an
SoTRange
object
-
findSoTRange
public gov.noaa.pmel.util.SoTRange findSoTRange(gov.noaa.pmel.sgt.dm.SGTGrid data, gov.noaa.pmel.sgt.GridAttribute attr, SgtPlotFunctions.AxisType dir)Find the range of theSGTGrid
object in the specified direction.- Parameters:
data
- the data gridattr
- the grid attributedir
- the direction- Returns:
- range as an
SoTRange
object
-