[Kst] How to do a simple graph in kst
Bill Gee
bgee at campercaver.net
Thu Nov 1 02:41:39 CET 2007
HELP!!! Can anyone here help me out? What am I missing?
I've been beating my head against every graphing program I can find trying get
one that will create a simple graph. So far I have not been able to figure
any of them out. They'll do complex stuff but not simple. Urgh!
The data I want to graph is from water level loggers. It is organized by date
and consists of a water depth, water temp and air temp taken every 15 minutes
over a period of about 8 months. It is all in a txt file. Here is a sample
of the first few lines of the file:
"Time","Water Temp","Water Depth","Cave Air Temp"
Sat Oct 28 10:45:00 2006,56.75,1.03,60.02
Sat Oct 28 11:00:00 2006,56.58,1.04,58.65
Sat Oct 28 11:15:00 2006,56.58,1.03,57.96
Sat Oct 28 11:30:00 2006,56.58,1.03,57.61
Sat Oct 28 11:45:00 2006,56.58,1.03,57.27
Sat Oct 28 12:00:00 2006,56.58,1.02,57.1
Sat Oct 28 12:15:00 2006,56.58,1.03,57.1
Sat Oct 28 12:30:00 2006,56.58,1.03,56.92
Sat Oct 28 12:45:00 2006,56.58,1.03,56.92
Sat Oct 28 13:00:00 2006,56.58,1.03,56.92
Sat Oct 28 13:15:00 2006,56.58,1.03,56.92
Sat Oct 28 13:30:00 2006,56.58,1.03,56.92
So here is what I am fighting:
1) How the heck do you get dates to become the X axis? I've tried every date
format I can think of, but all kst will do is either give me garbage or give
me what looks like about 10 seconds around midnight Jan 1 1969. If I use the
internally generated INDEX for the X-axis, kst will make a nice plot of the
data. Looking at dates that run from 0 to 22,000 is pretty useless, though.
2) How do you get multiple Y ranges? The water depth ranges between about 1
and 3 feet while the temperatures are in the 55-62 range. I want both on the
same plot with appropriate scaling.
3) I have other sets of data which do not exactly line up time-wise. Rainfall
events, for example ... Every .01 inch generates an event with a time stamp.
Is there a way to plot these events mixed in with the other data in
time-sequence order?
My clue buffer is in an underflow condition. Thanks for any help you can
give.
Bill Gee
More information about the Kst
mailing list