[Kst] [Bug 96334] New: Add ability to easily perform math
operations on scalars in labels etc.
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.
Summary: Add ability to easily perform math operations on scalars
in labels etc.
Platform: Slackware Packages
AssignedTo: kst kde org
ReportedBy: matt truch net
Version: 1.1.0_devel (using KDE KDE 3.3.2)
Installed from: Slackware Packages
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