[Kst] kstscript usage

George Staikos staikos at kde.org
Mon Apr 30 21:57:34 CEST 2007


Exactly, once the data is read it should be accessible from the  
vector object.  This was one of the most important things I added  
support for.  If it doesn't work it's most likely either a usage  
error or a bug in the Kst or KJS versions in use.  I don't know of  
such a bug in any version, however.

On 18-Apr-07, at 2:18 PM, Duncan Hanson wrote:

> The KstScript tutorial in NewDocs does just this sort of thing, and
> may be useful to look at (if Marc's Kst version isn't the problem).
>
> On 4/18/07, Barth Netterfield <netterfield at astro.utoronto.ca> wrote:
>> This does seems strange.
>>
>> What version of kst are you using (help->aboutKst)?
>>
>> cbn
>>
>> On Wednesday 18 April 2007 4:41:13 am Marc Dekker wrote:
>>> Dear sir/madam
>>>
>>> For my bachalor's degree i am working on a program that reads  
>>> data from a
>>> file or sensors and then analyses the input and then puts the  
>>> inpurt en the
>>> analyses in graphs on the screen. I have decided to use kst for  
>>> the purpous
>>> of drawing the graphs and since i found out you can use  
>>> javascript i am
>>> trying to put the analyses in a script to.
>>>
>>> Here I meet the problem that when i read DataVector's from file I  
>>> can't use
>>> a premade script to analyse the data because it seems that i am  
>>> not able to
>>> read data using the [ ] nor can i use the .length command to find  
>>> the size
>>> of a Datavector. I find it strange that i can do this when i use  
>>> the script
>>> promt in the kst window.
>>>
>>> My question is this: Are these things not posible or is there a  
>>> way or
>>> command i can use to get the number of elements in a datavector  
>>> en how can
>>> i acces various data points within a datavector?
>>>
>>> Sincerly yours,
>>>
>>> Marc Dekker
>>
>>
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst
>>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

--
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/





More information about the Kst mailing list