parent
a815664e98
commit
adb1efdd24
@ -53,9 +53,6 @@ public class Exp extends DFunction {
|
|||||||
public double getSourceOf(double target) {
|
public double getSourceOf(double target) {
|
||||||
if (target <= 0) {
|
if (target <= 0) {
|
||||||
return Math.log(minValue); // think of a minimal value we want to show in case invalid values are requested
|
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);
|
return Math.log(target);
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,7 @@ public class ScaledBorder implements Border {
|
|||||||
public DFunction xScale, yScale;
|
public DFunction xScale, yScale;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* formatters of the x- and y-axis numbers
|
* Formatters of the x- and y-axis numbers
|
||||||
*
|
*
|
||||||
* @see java.text.NumberFormat
|
* @see java.text.NumberFormat
|
||||||
*/
|
*/
|
||||||
@ -110,7 +110,7 @@ public class ScaledBorder implements Border {
|
|||||||
/**
|
/**
|
||||||
* Possible patterns for the number formats used by a 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.
|
* Internal states of which decPatterns to switch to next.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user