Package uk.ac.starlink.ttools.plot2.geom
Class MatrixPlotType
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.PlanePlotType
uk.ac.starlink.ttools.plot2.geom.MatrixPlotType
- All Implemented Interfaces:
PlotType<PlaneSurfaceFactory.Profile,PlaneAspect>
PlotType for a grid of plots.
This is sometimes known as a "corner plot" or SPLOM (Scatter PLOt Matrix).
- Since:
- 16 Aug 2023
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlaneSurfaceFactory.ConfigSurfaceFactory configuration for matrix plot. -
Constructor Summary
ConstructorsConstructorDescriptionMatrixPlotType(PlaneSurfaceFactory surfFact, Plotter<?>[] plotters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputMetagetCoordMeta(int ic) Returns coordinate metadata for one of the spatial coordinates used by the matrix plot.static StringgetCoordName(int ic) Returns the human-readable coordinate name for one of the spatial coordinates used by the matrix plot.Returns the object that controls how multi-zone plots are arranged.static MatrixPlotTypeReturns the default instance of this plot type.toString()Methods inherited from class uk.ac.starlink.ttools.plot2.geom.PlanePlotType
getPaperTypeSelector, getPlotters, getPointDataGeoms, getSurfaceFactory
-
Field Details
-
MATRIX_CONFIG
SurfaceFactory configuration for matrix plot.
-
-
Constructor Details
-
MatrixPlotType
Constructor.- Parameters:
plotters- plotters for use with this plot type
-
-
Method Details
-
getGangerFactory
Description copied from interface:PlotTypeReturns the object that controls how multi-zone plots are arranged.- Specified by:
getGangerFactoryin interfacePlotType<PlaneSurfaceFactory.Profile,PlaneAspect> - Overrides:
getGangerFactoryin classPlanePlotType- Returns:
- ganger factory
-
toString
- Overrides:
toStringin classPlanePlotType
-
getInstance
Returns the default instance of this plot type.- Returns:
- instance
-
getCoordMeta
Returns coordinate metadata for one of the spatial coordinates used by the matrix plot.- Parameters:
ic- coordinate index (0-based)- Returns:
- user-facing metadata for coordinate
-
getCoordName
Returns the human-readable coordinate name for one of the spatial coordinates used by the matrix plot.- Parameters:
ic- coordinate index (0-based)- Returns:
- coordinate name
-