i got the following problem: I habe a sqlite3 database with the following columns: ID, tempin, tempout, humidity, time, date
Now i want to plot all the content into a nice plot using gnuplot. I searched a little and found the following code:
plot '< sqlite3 myfile.db3 "SELECT temp1, temp2, pressure, humidity FROM myTable;"' using 0:1 title 'temp1', \
'' using 0:2 title 'temp2'
But after editing it, the gnuplot said "Warning: Skipping data file with no valid points"
My database looks like:
ID tempin tempout humidity date time
1 24 12 55 01.11.2014 07:00
2 23 13 54 01.11.2014 07:15
3 25 13 45 01.11.2014 07:30
Does anyone have an idea why i cant plot the database into gnuplot? And furthermore i want to use the column date or time for x scale.
sqlite3 myfile.db3 "SELECT temp1, temp2, pressure, humidity FROM myTable;"when you type it in a terminal (no gnuplot involved)? - Miguel