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.Config
SurfaceFactory configuration for matrix plot. -
Constructor Summary
ConstructorsConstructorDescriptionMatrixPlotType
(PlaneSurfaceFactory surfFact, Plotter<?>[] plotters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputMeta
getCoordMeta
(int ic) Returns coordinate metadata for one of the spatial coordinates used by the matrix plot.static String
getCoordName
(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 MatrixPlotType
Returns 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:PlotType
Returns the object that controls how multi-zone plots are arranged.- Specified by:
getGangerFactory
in interfacePlotType<PlaneSurfaceFactory.Profile,
PlaneAspect> - Overrides:
getGangerFactory
in classPlanePlotType
- Returns:
- ganger factory
-
toString
- Overrides:
toString
in 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
-