[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Thu Aug 12 23:07:10 CEST 2004


CVS commit by arwalker: 

Ensure x-errror bars can not extend beyond plot region.


  M +4 -4      kst2dplot.cpp   1.221


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.220:1.221
@@ -4214,9 +4214,9 @@ void Kst2DPlot::plotCurves(QPainter& p,
           c->getEXPoint(i_pt, rX, rY, rEX);
           if (_xLog) {
-            rX1 = logX(rX+fabs(rEX));
-            rX2 = logX(rX-fabs(rEX));
+            rX1 = logX(rX-fabs(rEX));
+            rX2 = logX(rX+fabs(rEX));
           } else {
-            rX1 = rX+fabs(rEX);
-            rX2 = rX-fabs(rEX);
+            rX1 = rX-fabs(rEX);
+            rX2 = rX+fabs(rEX);
           }
           if (_yLog) {





More information about the Kst mailing list