I've been trying in vain to get the correct format for
the y-axis. I am doing an intraday financial chart
and would like to label the ticks every 5 minutes. I
am following the example located @
http://matplotlib.sourceforge.net/screenshots/finance_work2.py
Data gets loaded from the CSV file just like in the
example.
I have something along these lines:
hours = HourLocator()
minutes = MinuteLocator()
timeFmt = DateFormatter('%H:%M')
ax.xaxis.set_major_locator(hours)
ax.xaxis.set_minor_locator(minutes)
ax.xaxis.set_minor_formatter(timeFmt)
ax.autoscale_view()
Am I too far off target here? Because I can't get it
to work.
I've also looked at the user's manual (5.4 example 2:
date ticking). Could someone please point me in the
right direction or provide an example of how it
_should_ be done? Thank you in advance.
ยทยทยท
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/