Bug 114724

Summary: can only specify error bars in +y direction from command line
Product: [Applications] kst Reporter: Brendan Crill <bpc>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.1.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Brendan Crill 2005-10-19 22:01:04 UTC
Version:           1.1.0 (using KDE KDE 3.4.0KDE 1.2)
Installed from:    Debian testing/unstable PackagesDebian testing/unstable Packages
OS:                Linux

Hi folks,

When I run kst from the command line like this:
kst -x 1 -y 2 -e 3 crap.txt

I only get error bars plotted in the +y direction - I then have to go to the "edit curve" dialog to check "Use +Y error bar for -Y" by hand.

Thanks,

Brendan
Comment 1 Andrew Walker 2005-10-19 22:43:25 UTC
SVN commit 472104 by arwalker:

BUG:114724 Set the minus Y error to be the same as the plus Y error when the Y error is set from the command line

 M  +1 -0      main.cpp  


--- trunk/extragear/graphics/kst/kst/main.cpp #472103:472104
@@ -534,6 +534,7 @@
                     evector = GetOrCreateVector(*(errorList.at(i_ycol)), file, in);
                     if (evector) {
                       curve->setYError(KstVectorPtr(evector));
+                      curve->setYMinusError(KstVectorPtr(evector));
                     }
                   }
 
Comment 2 Netterfield 2005-10-19 23:36:38 UTC
George,
Can you back port this to 1.1.1?
cbn
Comment 3 George Staikos 2005-10-20 00:19:38 UTC
SVN commit 472128 by staikos:

backport error bar commandline fix
CCBUG: 114724


 M  +1 -0      main.cpp  


--- branches/work/kst/1.1/kst/kst/main.cpp #472127:472128
@@ -548,6 +548,7 @@
                     evector = GetOrCreateVector(*(errorList.at(i_ycol)), file, in);
                     if (evector) {
                       curve->setYError(KstVectorPtr(evector));
+                      curve->setYMinusError(KstVectorPtr(evector)); 
                     }
                   }