Bug 158426

Summary: error bars which go negative behave badly in log mode...
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Netterfield 2008-02-26 01:33:36 UTC
Version:           1.6.0_devel (using 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

Create a plot of a curve (positive Y values only) with Y axis error flags, some of which extend below 0.

Hit 'l' to enter Y log mode.

What happens:
  The error flags with a negative end extend from the + flag to infinity
What should happen:
  The error flags with a negative end should extend from the + flag to a positive number, less than the plot minimum.

Test data set:

1 6 .6
2 .5 .6
3 .2 0.6
5 .8 .6
8 10.0 0.5

Copy this to 'data.dat' then 
   kst -x 1 -y 2 -e 3 data.dat
hit 'l' to see the effect.
Comment 1 Andrew Walker 2008-02-27 20:36:20 UTC
SVN commit 780004 by arwalker:

BUG:158426 correctly draw the error bars when one end or other lies outside the plot

 M  +17 -0     kstvcurve.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=780004