MCPcopy Create free account
hub / github.com/rambaut/figtree / log10

Method log10

src/figtree/treeviewer/ScaleAxis.java:277–279  ·  view source on GitHub ↗

A static method that uses the natural log to obtain log to base10. This is required for the linear autoCalibrate but will also be used by a derived class giving a log transformed axis.

(double inValue)

Source from the content-addressed store, hash-verified

275 * used by a derived class giving a log transformed axis.
276 */
277 static public double log10(double inValue) {
278 return Math.log(inValue)/Math.log(10.0);
279 }
280
281 public void calibrate() {
282

Callers 2

calibrateMethod · 0.95
calculateScaleRangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected