Matplotlib logarithmic scatter plot

John Hunter jdhunter at ace.bsd.uchicago.edu
Tue Feb 28 12:56:23 EST 2006


>>>>> "Derek" == Derek Basch <dbasch at yahoo.com> writes:

    Derek> Great! That worked fine after I played with it for a
    Derek> bit. One last question though. How do I label the ticks
    Derek> with the product of the exponentiation? For instance:

    Derek> 100

    Derek> instead of

    Derek> 10**2

You can supply your own custom tick formatters (and locators).  See

  http://matplotlib.sf.net/matplotlib.ticker.html 

and examples

  http://matplotlib.sourceforge.net/examples/custom_ticker1.py
  http://matplotlib.sourceforge.net/examples/major_minor_demo1.py
  http://matplotlib.sourceforge.net/examples/major_minor_demo2.py

JDH



More information about the Python-list mailing list