[Kst] -F doesn't seem to reset the datafile

Jim Snyder jhs at jhsnyder.com
Sun May 4 20:47:03 CEST 2008


Really simple problem, but can't make it work. Easy to believe that I'm doing
something stupid, but if so, I can't figure what it is after several days of
poking around and handbook reading and re-reading, so would be grateful for a
clue.

I notice a comment in an archived e-mail circa Jan 2008 to the effect that "command
line processing is broken", but am hoping that's either I'm misreading that, or else
command line processing fixed since then.

here's the problem:

I'm trying to display a two-vector plot of "packets sent/packets received v. time".

I create a data file 0.dat:

11	1	1
12	2	1
13	3	2
14	4	4

I run kst:

	kst -x1 -y2 -y3 0.dat&

I see the attached plot0.jpg.

I write out a .kst file (making no changes to any of the curve or vector definitions.)

I create a data file 2.dat by adding two data points to 0.dat:

11	1	1
12	2	1
13	3	2
14	4	4
15	5	5
16	6	5

I run kst:

	kst -F 2.dat 0.kst&

The window displays with the axes etc, but no curves displayed, as in plot2a.jpg.
The Help->Debug Kst->Log window shows the error messages in plot2b.jpg.

I've tried various other things, eg displaying 0.dat, going to data mode, then
changing vectors 2 & 3 to be "read from end", but I get exactly the same error.

Or
	kst -n -1 -F 2.dat 0.kst&

The errors in the log suggest to me that the -F isn't actually resetting the
data file, but maybe I'm reading meaning into the messages that isn't correct.

I'm running Fedora Core 8 on a Dell D830 Latitude (Core 2 Duo), x86_64.

uname -a gives:

Linux labrea 2.6.24.4-64.fc8 #1 SMP Sat Mar 29 09:15:49 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

labrea=; kst --version
Qt: 3.3.8b
KDE: 3.5.9-5.fc8 Fedora
Kst: 1.5.0
labrea=; 

Resetting the file is critical for a demo I'm doing; I want to run kst in a pipeline reading
stdin, but with defined legends and captions. kst does everything I need, and does so better
than any other tool I've looked at ... *except* resetting the data file.

Thanks for any help.

				Jim







-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot0.jpg
Type: image/jpeg
Size: 48306 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20080504/1df88a45/attachment-0003.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot2a.jpg
Type: image/jpeg
Size: 45412 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20080504/1df88a45/attachment-0004.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot2b.jpg
Type: image/jpeg
Size: 68998 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20080504/1df88a45/attachment-0005.jpg 


More information about the Kst mailing list