diff --git a/src/eva2/gui/plot/Exp.java b/src/eva2/gui/plot/Exp.java index 82e75955..7cbc726c 100644 --- a/src/eva2/gui/plot/Exp.java +++ b/src/eva2/gui/plot/Exp.java @@ -53,9 +53,6 @@ public class Exp extends DFunction { public double getSourceOf(double target) { if (target <= 0) { return Math.log(minValue); // think of a minimal value we want to show in case invalid values are requested -// throw new IllegalArgumentException( -// "Can not calculate log on values smaller than or equal 0 --> target = " -// + target); } return Math.log(target); } diff --git a/src/eva2/tools/chart2d/ScaledBorder.java b/src/eva2/tools/chart2d/ScaledBorder.java index 40d057d6..2182ed09 100644 --- a/src/eva2/tools/chart2d/ScaledBorder.java +++ b/src/eva2/tools/chart2d/ScaledBorder.java @@ -100,7 +100,7 @@ public class ScaledBorder implements Border { public DFunction xScale, yScale; /** - * formatters of the x- and y-axis numbers + * Formatters of the x- and y-axis numbers * * @see java.text.NumberFormat */ @@ -110,7 +110,7 @@ public class ScaledBorder implements Border { /** * Possible patterns for the number formats used by a border. */ - private String[] decPatterns = {"#,##0.###", "0.###E0"}; // standard decimal or scientific exponential + private String[] decPatterns = {"#,##0.###", "00.###E0"}; // standard decimal or scientific exponential /** * Internal states of which decPatterns to switch to next.