[Kst] kdeextragear-2/kst/devel-docs
George Staikos
staikos at kde.org
Tue Mar 29 18:55:30 CEST 2005
CVS commit by staikos:
update to reflect where it's at
M +10 -6 scripting.txt 1.4
--- kdeextragear-2/kst/devel-docs/scripting.txt #1.3:1.4
@@ -35,11 +35,15 @@
The X axis vector has to be re-scaled.
-var f = File.load("Data.dat");
-
-var Vx = DataVector(f, "1");
-string Vn = DataVector(f, "2").tag;
-var Vp = DataVector(f, "3");
-var Vm = DataVector(f, "4");
+var f = new DataSource("Data.dat");
+if (!f) {
+ alert("error");
+}
+
+var Vx = new DataVector(f, "1");
+string Vn = (new DataVector(f, "2", start, end)).tagName();
+var Vp = new DataVector(f, "3", start, end, skip);
+var Vm = new DataVector(f, "4", start, end, skip, ave);
+// After here is unimplemented so far
var Ex = Equation("[" + Vx.tag + "] * 0.0042", Vx);
More information about the Kst
mailing list