Hi,
I'm new with matplotlib.

I need to make a graph with the X axis represents time in hours and
minutes. My script don't works, I want to display all the values of time
that I have.
I use a list of string like this :
t=['0015', '0030', '0045', '0100', '0115', '0130', '0145', '0200',
'0215', '0230', '0245', '0300', '03
15', '0330', '0345', '0400', '0415', '0430', '0445', '0500', '0515',
'0530', '0545', '0600', '0615',
 '0630', '0645', '0700', '0715', '0730', '0745', '0800', '0815', '0830',
'0845', '0900', '0915', '09
30', '0945', '1000', '1015', '1030', '1045', '1100', '1115', '1130',
'1145', '1200', '1215', '1230',
 '1245', '1300', '1315', '1330', '1345', '1400', '1415']

ax.plot(t, y)

I tried to convert hours and minutes to the base 100 ( , it works but I
can not show on the x-axis the hours, minutes.
I tried to use plot_date, but I don't understand "x and/or y can be a
sequence of dates represented as float days since 0001-01-01 UTC."

Could you help me, please ?

/olivier

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to