On Mon, Nov 3, 2008 at 10:47 PM, Ryan May <[EMAIL PROTECTED]> wrote:
> Try the extent kwarg for imshow:
>
>      *extent*: [ None | scalars (left, right, bottom, top) ]
>        Eata values of the axes.  The default assigns zero-based row,
>        column indices to the *x*, *y* centers of the pixels.
>
> So you would do:
>
> imshow(data, extent=(l, r, b, t))

Yes, this works, thanks!  The weird thing is that the first time I
tried "extent" it didn't work (i.e. I messed up something :) ).

Edin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to