From 6e278604e9e488794896a11914fdcac89adfc9b1 Mon Sep 17 00:00:00 2001
From: Matthew D Jones <Matthew.D.Jones@tessella.com>
Date: Tue, 11 Aug 2015 15:12:36 +0100
Subject: [PATCH] Re #11422 Don't forbid negative start values for axis

---
 Code/Mantid/MantidPlot/src/Graph.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/Mantid/MantidPlot/src/Graph.cpp b/Code/Mantid/MantidPlot/src/Graph.cpp
index b691ae61f3f..92843c17824 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;
       }
-- 
GitLab