create chart from csv file
hi,
i'm trying to create a graph from a csv file. The file mainly has the date/time and a varying value like: Code:
1/30/2008 17:54:51,20 Any ideas? |
Hi.
I'm not sure what you mean by chart, but if you have not yet looked at gnuplot, I suggest that ... cheers, makyo |
It's not clear how you want to put them into a chart (i.e., do you want to transform the data in some way).
If you just want to read in the data and plot the values after the comma, you can use Gnumeric, openoffice calc, or any spreadsheet. If the file has a .csv extension, Gnumeric will recognize that it is a csv file, and open the import wizard automatically. You can then plot the values using the "Insert a chart" button. |
hi,
thanks for your answers. i want to automate the output - so when the csv file is created i want to start a program which produces a graphic file (doesn't matter which format ... png, jpeg, ...) |
GNUplot - I've just been trying to use that. It only reads .dat files and I can't seem to find out how to convert a .csv to a .dat file
|
Actually, I think it's gnuplot, not GNUplot.
|
H.
Here's a sample script showing some degree of automation with gnuplot: Code:
#!/bin/sh Code:
% ./s4 |
All times are GMT -5. The time now is 05:58 PM. |