Dear Clever Guys,

I am struggling with a small problem and I hope you can help me.
I am making a Python module that has to draw some MySQL data. I use
PyX because I like it, but the problem is that the data looks like
this:

 +---------------------+---------+
 | date_and_time       | Data    |
 +---------------------+---------+
 | 2008-01-10 15:37:41 | 637.559 |
 | 2008-06-22 10:30:21 | 634.465 |
 | 2008-12-11 16:07:10 | 637.311 |
 | 2009-01-05 18:11:00 | 637.064 |
 | 2009-02-18 15:05:33 | 637.262 |
 | 2009-05-01 12:49:57 | 636.816 |
 | 2009-05-01 22:28:01 | 636.816 |
 | 2009-05-13 21:01:54 | 635.827 |
 +---------------------+---------+

I converted the data to Unix timestamp, but than I cannot tell which
data comes from which day.

My question is there a way to draw the time data on the X axis and to
keep the time ratio?

Many thanks,

Alex

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to