[EXTERNAL] Using dates on the X-axis

Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] stephen.f.maher at nasa.gov
Fri Feb 28 12:37:41 GMT 2020


Hi Nicolas,

Thanks for your comments.  I have no doubt Kst has a smooth build with the default configuration.  There are very talented folks like yourself that have designed and implemented this flexible tool.

However, we rely on the dirfile format.  we have built multiple, large instrument systems that produce dirfiles solely for interfacing to Kst.

Yes, I had about 20-30 exchanges on this list as I tried to get a Windows build with dirfile support.  I'm fairly experienced at this stuff (although not cmake!) but I didn't succeed.  There were several "leads" in the sources and tips online but nothing definitive.  I was told the Windows build was done by a cross-compile on Linux (e.g., travis.sh).  I made several attempts but had tool versioning issues on recent Ubuntu releases.  I created a VM of Ubuntu 14 and still had version issues.  I ran out of leads when failing to downgrade gcc on that VM.  Tormod Volden was very helpful on the list and said he was able to build - with some manual getdata source tweaks on Ubuntu 14 - but I wasn't able to recreate his success.

Filling in gaps in the build instructions (for Windows build with libraries) would be extremely welcomed.  I wouldn't be surprised if I missed something simple.  A bonus would be to be able to build on recent Linux releases.

I'd like to give back to Kst and reduce the friction for others to contribute and help the community grow.

Sincerely,
Steve


From: Kst <kst-bounces at kde.org> On Behalf Of BRISSET, Nicolas
Sent: Thursday, February 27, 2020 12:45 PM
To: kst at kde.org
Subject: RE: [EXTERNAL] Using dates on the X-axis

Hi,

Regarding your comments/questions, it is a fact that Kst development has slowed down. This is partly due to the fact that its feature set covers most targeted needs, but also at least as far as I'm concerned that I have move to other activities and have far less time to contribute + an Airbus in-house alternative which is working very well and covers even more possibilities.

Regarding the possibility to contribute, Kst is a standard Qt/C++ application and it can be built quite easily using Qt Creator and CMake. I remember exchanges on this list with quite detailed instructions. I just saw that there are outdated instructions in the sources, that is a bit unfortunate. But essentially you have to open the CMakeLists.txt at the root of the source tree and from there it is quite standard. Where things get a bit trickier is under Windows when you need additional libraries for some of the optional features, that's true...
Contributing code is of course more involved than just building, as it is not a trivial application. Datasources are quite well isolated from the rest and a good place to start. The code is quite well structured and commented.

There are Windows builds available to download, both for released versions (the last one being 2.0.8) and some built automatically whenever there is a commit - or daily I don't remember.
There are also Linux packages available for a fairly large number of distros. The links are available at https://kst-plot.kde.org/download/binary_packages.php<https://urldefense.proofpoint.com/v2/url?u=https-3A__kst-2Dplot.kde.org_download_binary-5Fpackages.php&d=DwMFAw&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=-R3xsgur7MOxl6HRcidqIAJnq8b5J1_1moJT_-Jr-Tc&m=Sq48aZ5kZ3cx4q4AtyS1f63Txx3Gwb5MY5--8BBeFYc&s=NIIO8qRtGSlxslDaD2lp66WIG_GjkHDxSNJZOvKsU0w&e=>.

Someone mentioned labplot, which is another KDE-supported plotting tool which has seen quite a lot of active development lately. It is also quite capable, with a more table-based approach (like Origin) but a fairly impressive feature set.

Nicolas

De : Kst [mailto:kst-bounces at kde.org] De la part de Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]
Envoyé : mercredi 19 février 2020 14:56
À : bgee at campercaver.net<mailto:bgee at campercaver.net>
Cc : kst at kde.org<mailto:kst at kde.org>
Objet : RE: [EXTERNAL] Using dates on the X-axis

BTW, a year or so ago I spent time trying to build KST - in order to try to contribute.  It was very difficult.  I think I had some luck with some old version of Linux but then couldn't build a Windows binary.

I love KST and use it extensively and want to keep it alive.  I have minimal spare time and can't spend a couple weeks getting a smooth build going.

Does anyone have a clear and complete set of instructions for building KST (at a minimum for Windows)?

Thanks,
Steve


From: Bill Gee <bgee at campercaver.net<mailto:bgee at campercaver.net>>
Sent: Wednesday, February 19, 2020 8:04 AM
To: Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] <stephen.f.maher at nasa.gov<mailto:stephen.f.maher at nasa.gov>>
Cc: kst at kde.org<mailto:kst at kde.org>
Subject: Re: [EXTERNAL] Using dates on the X-axis


Hi Stephen -



I am afraid you are correct. It appears that KST is not under active development. If this becomes a major problem I will have to find another graphing tool.



LabPlot is one possibility. I have looked at LibreOffice Calc, but it has been awhile and I don't remember exactly why I found it unsuitable. It might be worth another look.

--

Bill Gee





On Tuesday, February 18, 2020 6:54:24 AM CST Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote:

> I asked a similar question awhile ago .. I don't think it's possible ...

>

> Steve

>

>

> From: Kst <kst-bounces at kde.org<mailto:kst-bounces at kde.org>> On Behalf Of Bill Gee

> Sent: Saturday, February 15, 2020 10:40 AM

> To: kst at kde.org<mailto:kst at kde.org>

> Subject: [EXTERNAL] Using dates on the X-axis

>

>

> I generate graphs every now and then which show a year of data. The data is temperature and water depth. It all works well, except that the x-axis is marked in days since zero. I would MUCH rather have the x-axis show actual dates. It would be enough to show the first of each month. There are 35000 data points in each graph, so showing every date would not work!

>

>

>

> So far I have not found a way to do this. Can anyone give me any clues?

>

>

>

> KST version = 2.0.8 (from Fedora repository)

>

> Fedora 31, 64-bit

>

> Qt = 4.8.7

>

> KDE = whatever version installs to Fedora 31

>

>

>

> A short sample of the input data file:

>

>

>

> ===============

>

> Date,Water Pressure,Barometric Pressure,Water Depth,Temperature

> 01/01/19 00:00:00,14.7982,14.3716,0.869,53.623

> 01/01/19 00:30:00,14.8026,14.379,0.863,53.623

> 01/01/19 01:00:00,14.8028,14.3821,0.857,53.798

> 01/01/19 01:30:00,14.8092,14.3938,0.846,53.798

> 01/01/19 02:00:00,14.8223,14.4057,0.849,53.798

> 01/01/19 02:30:00,14.8288,14.4162,0.841,53.798

> 01/01/19 03:00:00,14.8246,14.4162,0.832,53.973

> 01/01/19 03:30:00,14.8289,14.4191,0.835,53.973

> 01/01/19 04:00:00,14.8246,14.4176,0.829,53.973

> 01/01/19 04:30:00,14.8289,14.425,0.823,53.973

> 01/01/19 05:00:00,14.8336,14.431,0.820,54.147

> 01/01/19 05:30:00,14.8379,14.4368,0.817,54.147

> 01/01/19 06:00:00,14.8465,14.4472,0.813,54.147

> 01/01/19 06:30:00,14.853,14.4532,0.815,54.147

> 01/01/19 07:00:00,14.8596,14.4606,0.813,54.147

> 01/01/19 07:30:00,14.8661,14.4739,0.799,54.147

> 01/01/19 08:00:00,14.8748,14.4798,0.805,54.147

> 01/01/19 08:30:00,14.8771,14.4901,0.788,54.322

> 01/01/19 09:00:00,14.8793,14.4946,0.784,54.322

> 01/01/19 09:30:00,14.888,14.5035,0.783,54.322

> ================

>

> In the data wizard, I specify the first line of the file as field names. In "Date/Time Interpretation" I set

>

>

>

> Interpret Field = Date

>

> Formatted String = MM/dd/yy hh:mm:ss

>

> Offset = Relative, 0.00 seconds

>

>

>

> In the window for editing a graph, under X-Axis I have tried every combination I can think of for date interpretation and display format. None of them produce what I want.

>

>

>

> Thanks!

> --

>

> Bill Gee

>

>

>

>

>




The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20200228/bded45fe/attachment-0001.html>


More information about the Kst mailing list