On 2012-10-02 18:10:01 +0000, Damon McDougall said:

> Forgot to reply all. Sorry.
> 
> 
> ---------- Forwarded message ----------
> From: Damon McDougall <damon.mcdoug...@gmail.com>
> Date: Tue, Oct 2, 2012 at 7:09 PM
> Subject: Re: [Matplotlib-users] imlim in ax.imshow
> To: "K.-Michael Aye" <kmichael....@gmail.com>
> 
> 
> On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye 
> <kmichael....@gmail.com> wrote:
>> 
>> 
>> On Oct 2, 2012, at 6:33 AM, Damon McDougall 
>> <damon.mcdoug...@gmail.com> wrote:
>> 
>>> On Tue, Oct 2, 2012 at 2:19 PM, Benjamin Root 
>>> <ben.r...@ou.edu> wrote:
>>>> 
>>>> 
>>>> On Mon, Oct 1, 2012 at 7:20 PM, Michael Aye 
>>>> <kmichael....@gmail.com> wrote:
>>>>> 
>>>>> Hi!
>>>>> 
>>>>> I see that the function ax.imshow takes the parameter 'imlim' but in
>>>>> the source (status: EPD 7.3-2) it is not being used?
>>>>> So what is it for?
>>>>> 
>>>>> Best regards,
>>>>> Michael
>>>>> 
>>>>> 
>>>> 
>>>> Confirmed.  I don't see imlim anywhere except in the imshow() signature.  I
>>>> have no recollection of this parameter, so it might be from before my time.
>>>> 
>>>> Ben Root
>>> 
>>> Is there some functionality you were looking for or were you just
>>> exploring the codebase?
>>> 
>> How nice of you to ask! ;)
>> Indeed: I had the case that image arrays inside an ImageGrid where 
>> shown with some white overhead area around, e.g. for an image of 100 
>> pixels on the x-axis, the imshow resulted in an x-axis that went from 
>> -10 to 110. I was looking for a simple way to suppress that behavior 
>> and let imshow instead use the exact image extent. I believe that the 
>> plot command has such a flag, hasn't it? (I.e. to use the exact xdata 
>> range and not try to beautify the plot?
>> 
>> Michael
>> 
>> 
>>> --
>>> Damon McDougall
>>> http://www.damon-is-a-geek.com
>>> B2.39
>>> Mathematics Institute
>>> University of Warwick
>>> Coventry
>>> West Midlands
>>> CV4 7AL
>>> United Kingdom
> 
> Is the 'extent' keyword what you're looking for?

No, because it requires input. I am looking for a boolean switch that 
says something along the lines: Respect the data, not beauty. Show 
exactly like the data is.


> 
> --
> Damon McDougall
> http://www.damon-is-a-geek.com
> B2.39
> Mathematics Institute
> University of Warwick
> Coventry
> West Midlands
> CV4 7AL
> United Kingdom




------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to