[Kst] [Bug 96334] New: Add ability to easily perform math operations on scalars in labels etc.

Matthew Truch matt at truch.net
Wed Jan 5 03:50:39 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=96334        
           Summary: Add ability to easily perform math operations on scalars
                    in labels etc.
           Product: kst
           Version: unspecified
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: matt truch net


Version:           1.1.0_devel (using KDE KDE 3.3.2)
Installed from:    Slackware Packages
OS:                Linux

Sometimes you want to perform simple math on scalars when you display them, but you don't want to create a whole equation just to do this.  Instead it would be nice to be able to do this within the label text.  There would need to be a way to designate one is in this kind of math mode; I suggest the square brackets as is used for scalars themselves.  

Example:  I want to display twice the range of my curve.  I would use the text:
[2*([V1-myCurve-Max]-[V1-myCurve-Min])] in my label and the requested operation would be performed on the scalars.


More information about the Kst mailing list