Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Sam Avr 27, 2024 9:54 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 9 message(s) ] 
Auteur Message
 Sujet du message: Graph with mean data...
MessagePublié: Lun Sep 01, 2008 7:20 pm 
Hors-ligne
Membre

Inscription : Dim Mars 16, 2008 1:14 pm
Message(s) : 83
Hi Antoine,
I wanto to ask if is there an option to obtain a graph like this in attached pic.
Pratically,It is generated from Heavy Weather program (I've got the Lacrosse ws3650) and on Y axis I've plotted the mean value of outdoor temperature and on x axis the relative day.
Is possible obtain this kind of graph with GW ?

Thank's again

Mario


Vous n’êtes pas autorisé(e) à consulter les fichiers insérés à ce message.


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Lun Sep 01, 2008 8:01 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Yes, but not exactly the same, with bargraph.
For example (you can suppress the min max if you want):

Image

This graphs has been generated in statistics, but it can be generated in a GW tab.


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Mar Sep 02, 2008 6:33 am 
Hors-ligne
Membre

Inscription : Dim Mars 16, 2008 1:14 pm
Message(s) : 83
ok Antoine,
only a question, I do not understand how can I writhe the X axis label code.
Is it manual (1,2,3...etc etc) or may be auto?
Please,could you send me the syntax for X axis month label?

Thank's anyway

mario


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Mar Oct 28, 2008 9:29 pm 
Hors-ligne
Membre

Inscription : Mar Oct 21, 2008 11:05 pm
Message(s) : 104
Localisation : Quincy-Sous-Sénart (F-91480)
Hello,

I see this question late..but you may still try to find the solution.
Like Antoine did mention, the monthly statistic example include such an XAxis configuration. To see it, juste go in the statistics folder and open the graph-month-1.xml example here you will see how xaxis is configured.
hope this helps

Hervé

_________________
<----------------------------------------------------->
Station IROX PRO-X USB / WeatherCapture/GraphWeather
http://diving91.homeip.net/


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Mer Oct 29, 2008 7:28 am 
Hors-ligne
Membre

Inscription : Dim Mars 16, 2008 1:14 pm
Message(s) : 83
Hi Hervè,
than's for the replay...
Yes...I've seen the X axis syntax in last (or earlyer, do not rimember well) revision.

Mario ;)


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Mer Oct 29, 2008 10:57 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
You can override the labels in adding the labels="..." in xaxis labels tag.

Ex: <labels labels="1;2;3;..." ....>


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Jeu Jan 08, 2009 11:58 pm 
Hors-ligne
Membre

Inscription : Jeu Jan 08, 2009 11:17 pm
Message(s) : 14
Hello,

Did make a lineplot graph with minimum, mean and maximum temperature in GW using the functions
stats_month_min_outdoor_temperature, stats_month_truemean_outdoor_temperature and stats_month_max_outdoor_temperature.
The plot is only for the current month. How can I make a plot for last month or older months.

How could I label the Xaxis. The xaxis from the example graph-month-1.xml with format="Y" don´t work.
See the attached file.
The Statistics text at the bottom shows correct $StarDate and $StopDate.


Vous n’êtes pas autorisé(e) à consulter les fichiers insérés à ce message.


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Ven Jan 09, 2009 8:13 am 
Hors-ligne
Membre

Inscription : Jeu Jan 08, 2009 11:17 pm
Message(s) : 14
Did get the right scale on Xaxis by using format="S". I think S is seconds :?:
Would like to have a plot like the one MeteOzoir page http://meteozoir.homeip.net/indexa.php?image=graph2.jpg :idea:

How do I make the graph for other month than the current month.


Vous n’êtes pas autorisé(e) à consulter les fichiers insérés à ce message.


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph with mean data...
MessagePublié: Ven Jan 09, 2009 4:42 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3145
Localisation : 34410 Sérignan - Languedoc
bertilh a écrit:
Did get the right scale on Xaxis by using format="S". I think S is seconds :?:
Would like to have a plot like the one MeteOzoir page http://meteozoir.homeip.net/indexa.php?image=graph2.jpg :idea:

How do I make the graph for other month than the current month.


Hello berthil,
if you want to get the stylesheets, no pb. However, I have to tell you that i work directly with a sql engine (postgresql, but i could have used a mysql or any other one) and that i peek directly my (historical & statistical) data from this database... so I do not use any GW statistical data for graph production !
To graph older months, you may do it manually : define the time interval range, then "save image as".


Here is the english version of xml sheet code :
Be carefull, some graphs do not match with their GW name eg. average temperature is indoor_temperature_1
Plse feel free to contact me.

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="850" height="800" />
<frame width="850" height="800" position-x="0" position-y="0" shadow="0">
<title text="MONTHLY MINI / MAXI VALUES" alignement="4" angle="0">
<font color="FF000000" facename="Arial" size="28" weight="600" italic="0"/>
</title>
<background color1="eeffffcc" color2="eeaa9977" gradient="1" gradient-direction="90"/>
<border cornerradius="0" color="FF555555" thick="0"/>
</frame>
<textbox width="150" height="85" position-x="675" position-y="130" shadow="6" margin="3">
<text alignement="5" text="Legend"/>
<background color1="eeffffcc" color2="eeaa9977" gradient="1" gradient-direction="90"/>
<border cornerradius="2" color="FF909090" thick="1"/>
</textbox>
<textbox width="150" height="85" position-x="675" position-y="360" shadow="6" margin="3">
<text alignement="5" text="Legend"/>
<background color1="eeffffcc" color2="eeaa9977" gradient="1" gradient-direction="90"/>
<border cornerradius="2" color="FF909090" thick="1"/>
</textbox>
<textbox width="150" height="85" position-x="675" position-y="590" shadow="6" margin="3">
<text alignement="5" text="Legend"/>
<background color1="eeffffcc" color2="eeaa9977" gradient="1" gradient-direction="90"/>
<border cornerradius="2" color="FF909090" thick="1"/>
</textbox>
<!-- ================= First Lineplot ================= -->
<lineplot width="850" height="200" shadow="0" position-x="5" position-y="95" margin-top="40" margin-right="280" margin-bottom="5" margin-left="75" >
<title text="Temperatures \nDaily Values" alignement="2" angle="0">
<font color="FF000000" facename="Arial" size="18" weight="600" italic="1" />
</title>
<border cornerradius="0" color="FF000000" thick="0" />
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0" titleside="32" >
<title text="" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%d/%m" side="2" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="13" minorticks="0" side="32" hidefirst="0" hidelast="0" hideminorticks="1" hide="0" />
</xaxis>
<y1axis color="FF0000ff" grid="1" autoscale="1" min="0" max="100" titleside="2" titlemargin="35">
<title text="Temperature ($UNIT[TEMPERATURE])" alignement="20" angle="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="2" hide="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="9" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="1" hide="0" />
</y1axis>
<legend position-x="675" position-y="140" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
<border cornerradius="10" color="FF000000" thick="0" />
<background color="00FFFFFF" />
</legend>
<background color="00ffffff" texture="" stretch="1" />
<graphbackground color1="FF000000" color2="99FFFFFF" gradient="1" gradient-direction="90"/>
<data>
<indoor_temperature_1 axisbind="y1axis" legend="Minimum T°" color1="FF0000FF" color2="FF0000FF" antialiasing="1" filled="0" hide="0" thick="1.2"/>
<outdoor_temperature_1 axisbind="y1axis" legend="Maximum T°" color1="FFFF0000" color2="FFFF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
<temperature_1_1 axisbind="y1axis" legend="Average T°" color1="FF00FF00" color2="FF00FF00" antialiasing="1" filled="0" hide="0" thick="1.2"/>
</data>
</lineplot>
<!-- ================= 2nd Lineplot ================= -->
<lineplot width="850" height="200" shadow="0" position-x="5" position-y="325" margin-top="40" margin-right="280" margin-bottom="5" margin-left="75" >
<title text="Humidity \nDaily Values" alignement="2" angle="0">
<font color="FF000000" facename="Arial" size="18" weight="600" italic="1" />
</title>
<border cornerradius="0" color="FF000000" thick="0" />
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0" titleside="32" >
<title text="" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%d/%m" side="2" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="13" minorticks="1" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis side="2" color="FF000000" grid="1" autoscale="1" min="0" max="100" titleside="2" titlemargin="35">
<title text="Humidity %" alignement="20" angle="0">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="2" hide="0">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="9" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<legend position-x="675" position-y="370" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
<border cornerradius="10" color="FF000000" thick="0" />
<background color="00FFFFFF" />
</legend>
<background color="00FFFFFF" texture="" stretch="1" />
<graphbackground color1="FF000000" color2="99FFFFFF" gradient="1" gradient-direction="90"/>
<data>
<indoor_humidity_1 axisbind="y1axis" legend="Minimum H%" color1="ff0000FF" color2="ff000FF" antialiasing="1" filled="0" hide="0" thick="1.2" />
<outdoor_humidity_1 axisbind="y1axis" legend="Maximum H%" color1="ffFF0000" color2="ffFf0000" antialiasing="1" filled="0" hide="0" thick="1.2" />
<humidity_1_1 axisbind="y1axis" legend="Average H%" color1="ff00FF00" color2="ff00FF00" antialiasing="1" filled="0" hide="0" thick="1.2" />
</data>
</lineplot>
<!-- ================= 3eme Lineplot ================= -->
<lineplot width="850" height="200" shadow="0" position-x="5" position-y="555" margin-top="40" margin-right="280" margin-bottom="5" margin-left="75" >
<title text="Sealevel Pressure \nDaily Values" alignement="2" angle="0">
<font color="FF000000" facename="Arial" size="18" weight="600" italic="1" />
</title>
<border cornerradius="0" color="FF000000" thick="0" />
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0" titleside="32" >
<title text="" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%d/%m" side="2" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="13" minorticks="1" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis side="2" color="FF0000ff" grid="1" autoscale="1" min="0" max="0" titleside="2" titlemargin="35">
<title text="Sealevel Pressure ($UNIT[PRESSURE])" alignement="20" angle="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="1"/>
</title>
<labels labelinterval="1" angle="0" format=".0" side="2" hide="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="9" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<y2axis side="8" color="FF0000ff" grid="0" autoscale="1" min="0" max="0" titleside="8" titlemargin="30">
<title text="Rainfall ($UNIT[RAINFALL])" alignement="20" angle="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="1"/>
</title>
<labels labelinterval="1" angle="0" format=".0" side="8" hide="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="0"/>
</labels>
<ticks majorticks="5" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0"/>
</y2axis>
<y3axis side="8" color="FF0000ff" grid="0" autoscale="1" titleside="8" titlemargin="30">
<title text="Gust" alignement="20" angle="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="8" hide="0">
<font color="FF0000ff" facename="Arial" size="14" weight="400" italic="0"/>
</labels>
<ticks majorticks="5" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0"/>
</y3axis>
<legend position-x="675" position-y="600" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
<border cornerradius="10" color="FF000000" thick="0" />
<background color="00FFFFFF" />
</legend>
<background color="00FFFFFF" texture="" stretch="1" />
<graphbackground color1="FF000000" color2="99FFFFFF" gradient="1" gradient-direction="90"/>
<data>
<relative_pressure_1 axisbind="y1axis" legend="Sealevel Pressure" color1="ff00FF00" color2="ff00FF00" antialiasing="1" filled="0" hide="0" thick="1.2" />
<rainfall_24h_1 axisbind="y2axis" legend="Rainfall" color1="ff0000FF" color2="ff000FF" antialiasing="1" filled="0" hide="0" thick="1.2" />
<wind_speed_1 axisbind="y3axis" legend="Gust" color1="ffFF0000" color2="ffFf0000" antialiasing="1" filled="0" hide="0" thick="1.2" />
</data>
</lineplot>
</stylesheet>


Jean


Haut
 Profil  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 9 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 22 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de:
Aller vers :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site