Re: [Matplotlib-users] How to control display precision and style (e.g., %f or %e) of axis tick labels?

2010-02-23 Thread Stephen George
David Goldsmith wrote: I've searched and searched the online docs...please help. DG If I understand your question correctly you probably need to look at http://matplotlib.sourceforge.net/api/ticker_api.html#tick-formatting ax.xaxis.set_major_formatter( xmajorFormatter )

[Matplotlib-users] How to control display precision and style (e.g., %f or %e) of axis tick labels?

2010-02-22 Thread David Goldsmith
I've searched and searched the online docs...please help. DG -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune

Re: [Matplotlib-users] How to control display precision and style (e.g., %f or %e) of axis tick labels?

2010-02-22 Thread Philipp Bender
Hi David, I found this one:: xticks( arange(5), ('Tom', 'Dick', 'Harry', 'Sally', 'Sue') ) On the page http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.xticks If I had that problem I would try to do something like that: xvalues = linspace(0,100,1000) xticks(xvalues,