Package org.opensourcephysics.display
Interface LogMeasurable
- All Superinterfaces:
Drawable
,Measurable
- All Known Implementing Classes:
DataColumn
,DataFunction
,Dataset
,DatasetManager
,HighlightableDataset
,Histogram
,HistogramDataset
,Stripchart
,Trail
Title: Measurable
Description: A Measurable object returns only positive min and max values for its x and y extent.
This interface is used to autoscale the x and y axes on a drawing panel.
Minimum and maximum values may NOT be valid if isMeasured returns false. Objects that
store data, for example, usually return zero if data is null.
Copyright: Copyright (c) 2024
- Version:
- 1.0
- Author:
- Wolfgang Christian
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the maximum x needed to draw this object on a log scale.double
Gets the minimum x needed to draw this object on a log scale.double
Gets the maximum y needed to draw this object on a log scale on a log scale.double
Gets the minimum y needed to draw this object on a log scale.Methods inherited from interface org.opensourcephysics.display.Drawable
draw, isInteractive
Methods inherited from interface org.opensourcephysics.display.Measurable
getXMax, getXMin, getYMax, getYMin, isMeasured
-
Method Details
-
getXMinLogscale
double getXMinLogscale()Gets the minimum x needed to draw this object on a log scale.- Returns:
- minimum
-
getXMaxLogscale
double getXMaxLogscale()Gets the maximum x needed to draw this object on a log scale.- Returns:
- maximum
-
getYMinLogscale
double getYMinLogscale()Gets the minimum y needed to draw this object on a log scale.- Returns:
- minimum
-
getYMaxLogscale
double getYMaxLogscale()Gets the maximum y needed to draw this object on a log scale on a log scale.- Returns:
- maximum
-