Wiki source for Blog20110323UsingGnuplotWithMageia
Well, this is related to Blog20100929MageiaDonationFollowUp and Blog20100922MageiaBeginningStatistics as I wanted to have a graphical presentation of results depending on time.
===Representation of several values as time goes by (temporal values)===
You may think that LibreOffice can do it (it may) but at the time {{image class="right" url="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20101017.png" title="social networks subscriptions" alt="social networks subscriptions" link="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20101017.svg"}}
~- there was no package for LibreOffice
~- my tests were not conclusive for an X temporal axis (well, only values were displayed but their value according to time not taken into account, particularly as my measures are not taken regularly)
~- then I found that gnuplot had a timefmt option to take into account the value for an axis, which corresponds to my requirement :
~~- as time goes by, I note down the date/time as [[http://en.wikipedia.org/wiki/ISO_8601 ISO 8601]] (well extended format for time and not using UTC :/ YYYY-MM-DD HH24:MI:SS
~~- and I take several measures, for example identi.ca, facebook and twitter number of subscriptions respectively available at:
~~~- [[http://identi.ca/mageia identi.ca]]
~~~- [[http://mageia.org facebook]]
~~~- [[http://twitter.com/mageia_org twitter]]
===Using gnuplot with timefmt===
So it works correctly:
~- set timefmt "%Y-%m-%d %H:%M"
~- you can find the complete source code and data used at http://download.tuxfamily.org/cauldron/mageia/stats/
===Promoting identi.ca as a libre service===
well, this kind of graphic is infuriating as proprietary services should be on the same scale: {{image class="right" url="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20110323.png" title="identi.ca first" alt="identi.ca first" link="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20110323.svg"}}
~- well no problem, just switch x1y2 to proprietary
~- it corresponds to reading left to right:
~~- left Y is 300 (hmm 180...)
~~- right is 3000
~~- identi.ca compared to facebook and above, fine :)
~~- twitter compared to facebook, fine among proprietary services, far below representativity of libre services :-)
~- I still do not understand the reason why the y2 scale seems to have 2 measures (perhaps because I have 2 sets of data on this axis)
~- Maybe find a way to add "events" (as comments) to the drawing, ideally it should be tied to data and with some image, well a "note" would do it. For example:
~~- alpha1
~~- beta1
~~- Mageia 1 release
----
CategoryBlogMageia
===Representation of several values as time goes by (temporal values)===
You may think that LibreOffice can do it (it may) but at the time {{image class="right" url="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20101017.png" title="social networks subscriptions" alt="social networks subscriptions" link="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20101017.svg"}}
~- there was no package for LibreOffice
~- my tests were not conclusive for an X temporal axis (well, only values were displayed but their value according to time not taken into account, particularly as my measures are not taken regularly)
~- then I found that gnuplot had a timefmt option to take into account the value for an axis, which corresponds to my requirement :
~~- as time goes by, I note down the date/time as [[http://en.wikipedia.org/wiki/ISO_8601 ISO 8601]] (well extended format for time and not using UTC :/ YYYY-MM-DD HH24:MI:SS
~~- and I take several measures, for example identi.ca, facebook and twitter number of subscriptions respectively available at:
~~~- [[http://identi.ca/mageia identi.ca]]
~~~- [[http://mageia.org facebook]]
~~~- [[http://twitter.com/mageia_org twitter]]
===Using gnuplot with timefmt===
So it works correctly:
~- set timefmt "%Y-%m-%d %H:%M"
~- you can find the complete source code and data used at http://download.tuxfamily.org/cauldron/mageia/stats/
===Promoting identi.ca as a libre service===
well, this kind of graphic is infuriating as proprietary services should be on the same scale: {{image class="right" url="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20110323.png" title="identi.ca first" alt="identi.ca first" link="http://download.tuxfamily.org/cauldron/mageia/stats/MageiaSocialNetworks-date-20110323.svg"}}
~- well no problem, just switch x1y2 to proprietary
~- it corresponds to reading left to right:
~~- left Y is 300 (hmm 180...)
~~- right is 3000
~~- identi.ca compared to facebook and above, fine :)
~~- twitter compared to facebook, fine among proprietary services, far below representativity of libre services :-)
~- I still do not understand the reason why the y2 scale seems to have 2 measures (perhaps because I have 2 sets of data on this axis)
~- Maybe find a way to add "events" (as comments) to the drawing, ideally it should be tied to data and with some image, well a "note" would do it. For example:
~~- alpha1
~~- beta1
~~- Mageia 1 release
----
CategoryBlogMageia