Mean Temperatures in Graph

Discussion about generation of graphs and tables
Post Reply
Stebi
Posts: 7
Joined: Mon Jul 25, 2011 8:51 pm

Mean Temperatures in Graph

Post by Stebi » Sat Feb 04, 2012 11:09 am

Dear colleagues
I want to draw a graph of my daily soil temperatures (sensor t2) together with two lines of the mean air temperatur of the corresponding month an year.
I tried the following definition:

gtitle0=Bodentemperatur_in_20cm_Tiefe
gheight0=150 gwidth0=700 glunit0=°C gtype0=line
sid0_0=t2 ssmooth0_0=1 sname0_0=Temp scolor0_0=880000 sfill0_0=10 ssel0_0=temp
sid0_1=th* ssmooth0_1=1 sname0_1=MeanTemp_Month scolor0_1=FF0000 sline0_1=40
ssel0_1=[month1_th*_temp]
sid0_2=th* ssmooth0_2=1 sname0_2=MeanTemp_Year scolor0_2=8800FF sline0_2=40
ssel0_2=[year1_th*_temp]

All I get is "Invalid selector sel ...
Has anybody some suggestions?

Greetings from Basel

Thomas

User avatar
admin
Site Admin
Posts: 332
Joined: Sun Feb 07, 2010 9:22 pm

Re: Mean Temperatures in Graph

Post by admin » Wed Feb 08, 2012 6:58 am

You used a wrong syntax. The "[month1_th*_temp]" thing is for placing values into templates not for defining graphs.

In a graph all data has to use the same time resolution, so there is AFAIK no way to insert lines refelecting data from different time scales.

Post Reply