Edin Salkovic wrote:
> On Mon, Nov 3, 2008 at 9:08 PM, Edin Salkovic <[EMAIL PROTECTED]> wrote:
>> On Mon, Nov 3, 2008 at 8:23 PM, Edin Salkovic <[EMAIL PROTECTED]> wrote:
>>> Am I missing something obvious?
>> xticklabels/yticklabels did the job.
>>
>> Sorry for the noise.
>
> Actually, with xticklabels/yticklabels the zoom functionality for the
> image is broken, so I still need a better solution.
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))
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users