Re: [Matplotlib-users] apply factor to numbers on axis

2008-10-06 Thread Henry Proudhon
On Mon, 2008-10-06 at 08:04 -0500, John Hunter wrote: > On Mon, Oct 6, 2008 at 3:52 AM, Henry Proudhon <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > > > I wonder if there is a simple way to apply a multiplication factor to > > the ticks labels of an axis. > > > > say I'm plotting a 100 x 100 mat

Re: [Matplotlib-users] apply factor to numbers on axis

2008-10-06 Thread John Hunter
On Mon, Oct 6, 2008 at 3:52 AM, Henry Proudhon <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I wonder if there is a simple way to apply a multiplication factor to > the ticks labels of an axis. > > say I'm plotting a 100 x 100 matrix with imshow and want the axis to > show (0 to 70) instead of (0 t

[Matplotlib-users] apply factor to numbers on axis

2008-10-06 Thread Henry Proudhon
Hi everyone, I wonder if there is a simple way to apply a multiplication factor to the ticks labels of an axis. say I'm plotting a 100 x 100 matrix with imshow and want the axis to show (0 to 70) instead of (0 to 100), while still displaying the whole matrix. In that case the coefficient would be