Re: [Matplotlib-users] Axis problem demo program

2009-10-28 Thread Jae-Joon Lee
On Wed, Oct 28, 2009 at 9:55 AM, Michael Droettboom wrote: > Does anyone with more experience with the scientific notation/offset > code have any further comments? While it is possible to turn off using the offset (or setting it manually), the api is not very friendly. fmt = gca().xaxis.get_majo

Re: [Matplotlib-users] Axis problem demo program

2009-10-28 Thread Matthias Michler
Hi Jim, I attached an example that does the job circumventing Matplotlibs scientific formatting instead of solving the problem with number of digits in scientific formatting. It uses a FuncFormatter from matplotlib.ticker, which allows you to define your own tick-formatting. Kind regards Matt

Re: [Matplotlib-users] Axis problem demo program

2009-10-28 Thread Michael Droettboom
Jim Horning wrote: > Greetings, > > I've been having difficulties with axis limit control. From a bigger > application I've reduced an example down to the following short code > segment. Note, the commented-out line, #x = numpy.linspace(98.42, > 99.21, 100), line in which the example works OKA

[Matplotlib-users] Axis problem demo program

2009-10-28 Thread Jim Horning
Greetings, I've been having difficulties with axis limit control. From a bigger application I've reduced an example down to the following short code segment. Note, the commented-out line, #x = numpy.linspace(98.42, 99.21, 100), line in which the example works OKAY. What is annoying is that the