Hi,

As good as the plot engine is it is fairly simplistic and arbitrary 
horizontal lines are something it cannot do out of the box. Two ideas comes 
to mind though. If your python skills are up to it you could modify the 
plot engine to draw arbitrary horizontal lines :). Alternatively, you could 
use two unused database fields, say extraTemp1 and extraTemp2, and through 
the StdCalibrate service permanently set them to 0C and 30C respectively. 
Something like:

[StdCalibrate]
    [[Corrections]]
        extraTemp1 = 0
        extraTemp2 = 30

Note that this assumes your database uses degree C (METRIC or METRICWX), if 
not (ie US) you would need to use the Fahrenheit equivalents. You could 
then simply add extraTemp1 and extraTemp2 to your plot. It would take time 
for the constant values to propagate through your plots, you could speed 
things up and backfill manually if you are competent with SQL. 

This approach is wasteful of database space but would achieve the effect 
you desire.

Gary

On Wednesday, 17 May 2017 07:47:06 UTC+10, Marco Biner wrote:
>
> Hi
> here a neewbe question:
> How can I draw a horizontal line in a temerpature graph
> a blue one for 0° C
> a red one for 30° C 
>
> Marco
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to