[Kst] Prune data to visible range

Brisset, Nicolas nicolas.brisset at airbus.com
Wed Sep 17 13:42:39 UTC 2014


Hi,

As already mentioned in the past on this list, I think it is currently a bit too cumbersome to reduce vector ranges. We also had quite a few user requests which went in that direction. So I'd like that to improve :)

I see 2 ways:

1.       Arrange for the change data sample ranges tool to allow entering ranges more efficiently than by means of numbers (e.g. using time or date/time, which I think more or less exists but I can't get it to work)

2.       Adding a tool to prune vectors according to the range of a given vector (typically time). We could for instance integrate it in the "Change Data Sample Ranges" tool, and it would principally do the following:

§  Check all tabs/plots/curves using the selected vector(s) to determine the min and max frames displayed, assuming the vector(s) is(are) monotonous

§  Set the ranges of all visible vectors (i.e. vectors used in at least one curve) to the previously determined min and max frame range

Considering that Kst can display pretty much anything as a function of something else, the previous description is a bit abstract. But if you consider the very usual case of displaying vectors from a time series, it would be very easy to use as it is much easier to determine an interesting range visually than over frame ranges. Concretely, you would zoom into the interesting range on one f(t) plot, go to the range tool, select the time vector and hit a button, and everything would be settled.

The only thing is that I'm not too much into the plotting part of Kst, so I'd appreciate some guidance  on how to go about it (especially how to efficiently iterate over plots and get the min and max frame numbers or values of a given vector)

Thanks for your help,

Nicolas

AIRBUS HELICOPTERS DEUTSCHLAND GmbH
Sitz der Gesellschaft / Registered Office: Donauwörth
Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury
Geschäftsführung / Board of Management:
Dr. Wolfgang Schoder, Vorsitzender / CEO; Ralf Barnscheidt; Johannes Kleidorfer; Oliver Schenzle


CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication
or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses
or other material which might be introduced with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20140917/65cbaf87/attachment.html>


More information about the Kst mailing list