Check for NaN values and don't try to plot icons for them
This commit is contained in:
parent
723a4262a4
commit
026d5cc259
@ -548,7 +548,7 @@ public class SimulationPlot {
|
||||
}
|
||||
|
||||
double ycoord = rangeInterpolator.getValue(t);
|
||||
|
||||
if (!Double.isNaN(ycoord)) {
|
||||
// Convert units
|
||||
xcoord = config.getDomainAxisUnit().toUnit(xcoord);
|
||||
ycoord = config.getUnit(index).toUnit(ycoord);
|
||||
@ -569,6 +569,7 @@ public class SimulationPlot {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private List<EventDisplayInfo> buildEventInfo() {
|
||||
ArrayList<EventDisplayInfo> eventList = new ArrayList<EventDisplayInfo>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user