diff --git a/Code/Mantid/MantidPlot/src/Graph.cpp b/Code/Mantid/MantidPlot/src/Graph.cpp index b691ae61f3ffdf9cfefbcb5bc70c631487821ded..92843c17824d0ada91905c449a4bd91cb49ffa3c 100644 --- a/Code/Mantid/MantidPlot/src/Graph.cpp +++ b/Code/Mantid/MantidPlot/src/Graph.cpp @@ -1387,14 +1387,14 @@ void Graph::setAxisScale(int axis, double start, double end, int type, double st { s = c->boundingRect().x(); } - if (s > 0 && s < s_min) + if (s < s_min) { s_min = s; } } } - if (s_min != DBL_MAX && s_min > 0) + if (s_min != DBL_MAX) { start = s_min; }