How to label X-axis with dates

Bill Gee bgee at campercaver.net
Tue Jan 28 20:00:12 GMT 2020


I am producing a series of graphs where I want the X-axis to display the actual date at major tick marks.  So far I have not discovered any way to do this.  The best I can do is get it to show a starting date with the major ticks labeled as days since the start.

Example JPG is attached.

The input data is a comma-separated values text file with one date and value per line.  Each file contains exactly one year of data.  Here are a few sample lines from the input file:

Date,Temperature
01/01/19 00:00:00,38.250
01/01/19 00:30:00,38.061
01/01/19 01:00:00,37.870
01/01/19 01:30:00,36.531
01/01/19 02:00:00,35.758
01/01/19 02:30:00,35.758
01/01/19 03:00:00,35.564
01/01/19 03:30:00,35.564

In the data wizard I set line 1 as field names and line 2 as the start of data.  The delimiter is a comma.  The offset is "Relative" at 0.00 seconds.

Is there a way to do this?

The system is KST version 2.0.8 running on 64-bit Fedora 31.  I installed KST from the Fedora repository.

Thanks!
-- 
Bill Gee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20200128/637b7334/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2019-SurfaceTemperature.jpg
Type: image/jpeg
Size: 533222 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kst/attachments/20200128/637b7334/attachment-0001.jpg>


More information about the Kst mailing list