* Alan Schmitt <alan.schm...@polytechnique.org> wrote: > > Thanks a lot for all the suggestions. The part I was missing was the > preprocessing from babel. Using simply > > set xdata time > set timefmt "%Y-%m-%d" > > did the trick.
I just wanted to check this out but I am not able to produce the plot :-( I just get the coordinate system but with an empty plane (no points). Can you please post the while working example (or correct my error)? Thanks! #+tblname: data-table | Date | HP | HC | |------------------+--------+--------| | [2011-08-20 Sat] | 006815 | 008399 | | [2011-08-29 Mon] | 006840 | 008438 | | [2011-09-11 Sun] | 006946 | 008552 | | [2011-12-11 Sun] | 007805 | 009603 | | [2012-03-04 Sun] | 008800 | 010826 | | [2012-03-11 Sun] | 008876 | 010930 | | [2012-03-25 Sun] | 009015 | 011121 | #+begin_src gnuplot :var data=data-table reset set title "Consommation Électrique" set size ratio square set xlabel "Date" set xdata time set timefmt "[%Y-%m-%d %a]" set xrange ["[2011-08-01 foo]":"[2012-04-01 bar]"] set yrange [6800:9100] set ylabel "HP" set ytics nomirror set y2range [8000:12000] set y2label "HC" set y2tics nomirror set style data points plot data using 1:2 axis x1y1 title 'HP', \ data using 1:3 axis x1y2 title 'HC' #+end_src -- Karl Voit Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen