Class ContourPlotSpeed
java.lang.Object
org.opentrafficsim.animation.graphs.AbstractPlot<S>
org.opentrafficsim.animation.graphs.AbstractBoundedPlot<S>
org.opentrafficsim.animation.graphs.AbstractSpaceTimePlot<AbstractContourPlot.ContourPaintState>
org.opentrafficsim.animation.graphs.AbstractContourPlot<org.djunits.value.vdouble.scalar.Speed>
org.opentrafficsim.animation.graphs.ContourPlotSpeed
- All Implemented Interfaces:
Identifiable,org.jfree.data.general.Dataset,org.jfree.data.general.SeriesDataset,org.jfree.data.xy.XYDataset,org.jfree.data.xy.XYZDataset
Contour plot for speed.
Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.animation.graphs.AbstractContourPlot
AbstractContourPlot.Bounds<Z extends Number>, AbstractContourPlot.ContourPaintState, AbstractContourPlot.LabelData<Z extends Number> -
Field Summary
Fields inherited from class org.opentrafficsim.animation.graphs.AbstractPlot
DEFAULT_INITIAL_UPPER_TIME_BOUND, GRAPH_ADD_EVENT, GRAPH_REMOVE_EVENT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.animation.graphs.AbstractContourPlot
addListener, calculatePaintState, emptyPaintState, getContourDataType, getDomainOrder, getEndLocation, getGranularities, getGranularity, getItemCount, getRangeBinCount, getSeriesCount, getSeriesKey, getStatusLabel, getX, getXValue, getY, getYValue, getZ, getZValue, indexOf, setGranularity, setInterpolate, setPaintState, setSmoothMethods inherited from class org.opentrafficsim.animation.graphs.AbstractSpaceTimePlot
setAutoBoundDomain, setAutoBoundRange, setChart, updateFixedDomainRangeMethods inherited from class org.opentrafficsim.animation.graphs.AbstractBoundedPlot
setLowerDomainBound, setLowerRangeBound, setUpperDomainBound, setUpperRangeBoundMethods inherited from class org.opentrafficsim.animation.graphs.AbstractPlot
addChangeListener, encodeAsPng, getAvailableTime, getCaption, getChart, getGroup, getId, getPaintState, invalidate, notifyPlotChange, offerPaintState, offerUpdateInterval, removeChangeListener, setGroup, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
-
Constructor Details
-
ContourPlotSpeed
Constructor.- Parameters:
caption- captionsource- data source
-
-
Method Details
-
getGraphType
Description copied from class:AbstractPlotReturn the graph type for transceiver.- Specified by:
getGraphTypein classAbstractPlot<AbstractContourPlot.ContourPaintState>- Returns:
- the graph type.
-
scale
protected double scale(double si) Description copied from class:AbstractContourPlotScale the z-value from SI to the desired unit for users, in line with unit inAbstractContourPlot.LabelData.labelFormat.- Specified by:
scalein classAbstractContourPlot<org.djunits.value.vdouble.scalar.Speed>- Parameters:
si- SI value- Returns:
- scaled value
-
toString
-