Re: [Matplotlib-users] positions and scientific notations of ticks

2012-05-08 Thread stecue
Dear All, I've figured out that I can use LinearLocator and set ylim manually to fix the number of ticks. But I still don't know to set the display precision of the scientific notation. Currently I can only work around this by choosing proper limits and number of ticks manually. Is there anywa

Re: [Matplotlib-users] positions and scientific notations of ticks

2012-05-06 Thread Eric Firing
On 05/04/2012 07:13 PM, stecue wrote: > Hi, > > I'm plotting figures for a series of data set and I want to keep the > looking consistent with each other. Currently I'm using MaxNLocator and > ScalarFormatter but still, > > 1. Is there a way to limit the minimum number of ticks for MaxNLocator? > C

[Matplotlib-users] positions and scientific notations of ticks

2012-05-04 Thread stecue
Hi, I'm plotting figures for a series of data set and I want to keep the looking consistent with each other. Currently I'm using MaxNLocator and ScalarFormatter but still, 1. Is there a way to limit the minimum number of ticks for MaxNLocator? Currently, if I set nbins=5, the number of ticks v