On 7/12/06, John Hunter <[EMAIL PROTECTED]> wrote:
>>>>> "John" == John Hunter <[EMAIL PROTECTED]> writes:

>>>>> "David" == David Grant < [EMAIL PROTECTED]> writes:
    David> edges=[54, 76, 80, 100] stats=[5.423, 23.226, 4.1, 6.93]


    John> xticks(edges)

Sorry, what I meant was something like

  xticks(range(len(edges)), ['%d'%edge for edge in edges])

This will set the locations to the integers and the labels to your
edge labels.


Cool, yeah I think that will work just fine. I don't think I saw xticks in the matplotlib PDF document I was looking at. What's the best source of documentation? I just noticed it is here: http://matplotlib.sourceforge.net/pylab_commands.html which is where I looked originally... I guess I just didn't know what to look for. :-)

p.s. any idea why [matplotlib-users] didn't show up in the subject line of my post?

--
David Grant
Please Note my new email address: [EMAIL PROTECTED]
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to